bsl::is_member_object_pointer

This struct template implements the is_member_object_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 data member type. This struct derives from bsl::true_type if the t_TYPE is a pointer to non-static data member type, and from bsl::false_type otherwise.

Synopsis

Declared in <bslmf_ismemberobjectpointer.h>

template<class t_TYPE>
struct is_member_object_pointer
    : false_type

Base Classes

NameDescription
false_typeMetafunction representing the boolean constant false.

Specializations

NameDescription
is_member_object_pointer<t_TYPEt_CLASS::*> Partial specialization relies on the principle that only object types can be const-qualified. Reference-types and function-types do not retain the const qualifier when added in this manner, and there are no void class members.
is_member_object_pointer<t_TYPE volatilet_CLASS::*> Partial specialization relies on the principle that only object types can be const-qualified. Reference-types and function-types do not retain the const qualifier when added in this manner, and there are no void class members.
is_member_object_pointer<t_TYPE constt_CLASS::*> Partial specialization relies on the principle that only object types can be const-qualified. Reference-types and function-types do not retain the const qualifier when added in this manner, and there are no void class members.
is_member_object_pointer<t_TYPE const volatilet_CLASS::*> Partial specialization relies on the principle that only object types can be const-qualified. Reference-types and function-types do not retain the const qualifier when added in this manner, and there are no void class members.