Meta‐function for detecting member object pointer types.

Synopsis

Declared in <bslmf_ismemberobjectpointer.h>

template<class t_TYPE>
struct is_member_object_pointer
    : false_type

Description

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.

Base Classes

Name

Description

false_type

Metafunction representing the boolean constant false.

Specializations

Name

Description

is_member_object_pointer<t_TYPEt_CLASS::*>

This partial specialization detects non‐cv‐qualified member object pointer types.

is_member_object_pointer<t_TYPE volatilet_CLASS::*>

This partial specialization detects volatile‐qualified member object pointer types.

is_member_object_pointer<t_TYPE constt_CLASS::*>

This partial specialization detects const‐qualified member object pointer types.

is_member_object_pointer<t_TYPE const volatilet_CLASS::*>

This partial specialization detects const volatile‐qualified member object pointer types.

Created with MrDocs