BloombergLP::bdlf::Bind_PlaceHolderMask

Meta-function that yields a place-holder bit-mask for a bound type.

Synopsis

Declared in <bdlf_bind.h>

template<class t_BOUND_TYPE>
struct Bind_PlaceHolderMask;

Description

This template, passed the type of one of the bound arguments to a function object, yields:

* If the specified t_BOUND_TYPE is a place holder, a mask with the bit at the index of the place holder set.

* If the specified t_BOUND_TYPE is a Bind or BindWrapper, a mask with bit 24 set.

* Zero otherwise.

Static Data Members

NameDescription
k_VAL Bit-mask value contributed by this bound-argument type.

Specializations

NameDescription
Bind_PlaceHolderMask<PlaceHolder<INDEX>> Place-holder mask specialization for a place-holder bound type.
Bind_PlaceHolderMask<Bind<t_RET, t_FUNC, t_BOUND_TUPLE>> Place-holder mask specialization for a nested Bind argument.
Bind_PlaceHolderMask<BindWrapper<t_RET, t_FUNC, t_BOUND_TUPLE>> Place-holder mask specialization for a nested BindWrapper argument.