This struct template implements the is_member_function_pointer meta-function defined in the C++11 standard [meta.unary.cat]to determine if the (template parameter) t_TYPE is a pointer to non-static member function type. This struct derives from bsl::true_type if the t_TYPE is a pointer to non-static member function type, and from bsl::false_type otherwise. Additional specializations are provided below to give the correct answer in all cases.
Declared in <bslmf_ismemberfunctionpointer.h>
template<class t_TYPE>
struct is_member_function_pointer
: false_type
| Name | Description |
|---|---|
false_type | Metafunction representing the boolean constant false. |
| Name | Description |
|---|---|
is_member_function_pointer<t_TYPEt_CLASS::*> | This partial specialization for all non-cv-qualified pointer-to-member types derives from true_type if the specified (template parameter) type is a function type, and from false_type otherwise. |
is_member_function_pointer<t_TYPE volatilet_CLASS::*> | This partial specialization for all volatile-qualified pointer-to-member types derives from true_type if the specified (template parameter) type is a function type, and from false_type otherwise. |
is_member_function_pointer<t_TYPE constt_CLASS::*> | This partial specialization for all const-qualified pointer-to-member types derives from true_type if the specified (template parameter) type is a function type, and from false_type otherwise. |
is_member_function_pointer<t_TYPE const volatilet_CLASS::*> | This partial specialization for all const volatile-qualified pointer-to-member types derives from true_type. |