BloombergLP::bdlf::Bind_PlaceHolderMask<Bind<t_RET, t_FUNC, t_BOUND_TUPLE>>

This specialization of Bind_PlaceHolderMask defines a mask for a Bind object passed recursively as a bound argument. The value is not important, as long as it is out of range. Note that 1 << 30 would be equally valid, but can lead to an overflow in constant expression with Bind_CalcParameterMask::k_PARAM_MASK2 below (obtained by adding the masks of the bound arguments together) when there are more than 3 nested binders (this is unfortunately an error with the GNU compiler).

Synopsis

Declared in <bdlf_bind.h>

template<
    class t_RET,
    class t_FUNC,
    class t_BOUND_TUPLE>
struct Bind_PlaceHolderMask<Bind<t_RET, t_FUNC, t_BOUND_TUPLE>>;

Static Data Members

Name
k_VAL