This struct provides traits of the binder functor type t_FUNC.
Declared in <bdlf_bind.h>
template<
class t_RET,
class t_FUNC>
struct Bind_FuncTraits
: Bind_FuncTraitsImp<t_RET, t_FUNC, (int)bslmf::IsFunctionPointer<t_FUNC *>::value, (int)bslmf::IsFunctionPointer<t_FUNC>::value, (int)bslmf::IsMemberFunctionPointer<t_FUNC>::value>
If t_RET is bslmf::Nil, then the return type is inferred by using either bslmf::FunctionPointerTraits, bslmf::MemberFunctionPointerTraits, or t_FUNC::ResultType / t_FUNC::result_type. Otherwise the return type is t_RET. Additional nested types and enumerations describe whether binding is explicit, whether the functor is a member function, and whether it has pointer semantics.
| Name | Description |
|---|---|
Bind_FuncTraitsImp<t_RET, t_FUNC, (int)bslmf::IsFunctionPointer<t_FUNC *>::value, (int)bslmf::IsFunctionPointer<t_FUNC>::value, (int)bslmf::IsMemberFunctionPointer<t_FUNC>::value> | Implementation traits for binder function-object types. |