BloombergLP::bslmf::MemberFunctionPointerTraits_ClassType

This class determines whether the specified t_PROTOTYPE is a const, volatile or noexcept member function of the specified t_TYPE. The Type member will be a correctly const and/or volatile qualified version of t_TYPE. This metafunction is necessary because some old compilers do not correctly dispatch to the correct partial specialization of MemberFunctionPointerTraits_Imp based on cv-qualification of the member-function pointer.

Synopsis

Declared in <bslmf_memberfunctionpointertraits.h>

template<
    class t_PROTOTYPE,
    class t_BSLMF_RETURN,
    class t_TYPE,
    class... t_ARGS>
class MemberFunctionPointerTraits_ClassType;

Type Aliases

NameDescription
CType Depending on IS_CONST, add or do not add a const qualifier to t_TYPE.
Type Depending on IS_VOLATILE, add or do not add a volatile qualifier to t_TYPE.

Enums

NameDescription
Unnamed enum Bit flags encoding const and volatile qualification of the member function.