Quick Links:

bal | bbl | bdl | bsl

Public Types

bslmf::MemberFunctionPointerTraits_ClassType< t_PROTOTYPE, t_BSLMF_RETURN, t_TYPE, t_ARGS > Class Template Reference

#include <bslmf_memberfunctionpointertraits.h>

List of all members.

Public Types

enum  { IS_CONST = (BSLMF_TAG_TO_UINT((test)((t_PROTOTYPE)0)) & 1) != 0, IS_VOLATILE = (BSLMF_TAG_TO_UINT((test)((t_PROTOTYPE)0)) & 2) != 0 }
typedef If< IS_CONST, const
t_TYPE, t_TYPE >::Type 
CType
typedef If< IS_VOLATILE,
volatile CType, CType >::Type 
Type

Detailed Description

template<class t_PROTOTYPE, class t_BSLMF_RETURN, class t_TYPE, class... t_ARGS>
class bslmf::MemberFunctionPointerTraits_ClassType< t_PROTOTYPE, t_BSLMF_RETURN, t_TYPE, t_ARGS >

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.

See Component bslmf_memberfunctionpointertraits


Member Typedef Documentation

template<class t_PROTOTYPE , class t_BSLMF_RETURN , class t_TYPE , class... t_ARGS>
typedef If<IS_CONST, const t_TYPE, t_TYPE>::Type bslmf::MemberFunctionPointerTraits_ClassType< t_PROTOTYPE, t_BSLMF_RETURN, t_TYPE, t_ARGS >::CType
template<class t_PROTOTYPE , class t_BSLMF_RETURN , class t_TYPE , class... t_ARGS>
typedef If<IS_VOLATILE, volatile CType, CType>::Type bslmf::MemberFunctionPointerTraits_ClassType< t_PROTOTYPE, t_BSLMF_RETURN, t_TYPE, t_ARGS >::Type

Member Enumeration Documentation

template<class t_PROTOTYPE , class t_BSLMF_RETURN , class t_TYPE , class... t_ARGS>
anonymous enum
Enumerator:
IS_CONST 
IS_VOLATILE 

The documentation for this class was generated from the following file: