BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdlf::Bind_FuncTraitsImp< t_RET, t_FUNC, IS_FUNCTION, IS_FUNCTION_POINTER, IS_MEMBER_FUNCTION_POINTER > Struct Template Reference

Detailed Description

template<class t_RET, class t_FUNC, int IS_FUNCTION, int IS_FUNCTION_POINTER, int IS_MEMBER_FUNCTION_POINTER>
struct bdlf::Bind_FuncTraitsImp< t_RET, t_FUNC, IS_FUNCTION, IS_FUNCTION_POINTER, IS_MEMBER_FUNCTION_POINTER >

This struct provides a mechanism for inferring various traits of the function object type t_FUNC. The return type is given by t_RET unless it is bslmf::Nil in which case it is inferred from t_FUNC. The last three parameters IS_FUNCTION, IS_FUNCTION_POINTER and IS_MEMBER_FUNCTION_POINTER specify whether t_FUNC is a free function type (either a reference-to-function or plain function type), a pointer to function type, or a pointer to member function type, respectively.

Only specializations of this class should be used (given below). All specializations define the types and enumerations documented in the Bind_FuncTraits below.


The documentation for this struct was generated from the following file: