Meta‐function for detecting traits of pointer‐to‐member types.

Synopsis

Declared in <bslmf_memberpointertraits.h>

template<class t_TYPE>
struct MemberPointerTraits
    : /* implementation-defined */

Description

This metafunction determines the traits of a pointer‐to‐member type, including the type of the object that it is a member of, and the type of the member it addresses.

This utility struct template provides the following nested typedefs:: ClassType: The type of the class for which the specified t_TYPE is: a pointer to member object.: MemberType: The type of the member object of the class for which the: specified t_TYPE is a pointer to member object. These typedefs will only be defined if t_TYPE is a pointer‐to‐member‐object type. The primary (unspecialized) MemberPointerTraits_Imp template is defined and empty.

Base Classes

Name

Description

/* implementation-defined */

Empty

Created with MrDocs