Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::tti::valid_member_metafunction< TTI_METAFUNCTION > Struct Template Reference

A metafunction which checks whether the invoked macro metafunction generated by BOOST_TTI_MEMBER_TYPE ( BOOST_TTI_TRAIT_MEMBER_TYPE ) hold a valid type. More...

#include <member_type.hpp>

Inheritance diagram for boost::tti::valid_member_metafunction< TTI_METAFUNCTION >:
Collaboration diagram for boost::tti::valid_member_metafunction< TTI_METAFUNCTION >:

Public Types

typedef integral_c_tag tag
 
typedef bool_ type
 
typedef bool value_type
 

Public Member Functions

 BOOST_STATIC_CONSTANT (bool, value=C_)
 
BOOST_CONSTEXPR operator bool () const
 

Detailed Description

template<class TTI_METAFUNCTION>
struct boost::tti::valid_member_metafunction< TTI_METAFUNCTION >

A metafunction which checks whether the invoked macro metafunction generated by BOOST_TTI_MEMBER_TYPE ( BOOST_TTI_TRAIT_MEMBER_TYPE ) hold a valid type.

template<class TTI_METAFUNCTION> struct valid_member_metafunction { static const value = unspecified; typedef mpl::bool_<true-or-false> type; };

The metafunction types and return:

TTI_METAFUNCTION = The invoked macro metafunction generated by BOOST_TTI_MEMBER_TYPE ( BOOST_TTI_TRAIT_MEMBER_TYPE ).

returns = 'value' is true if the nested type of the invoked metafunction is valid, otherwise 'value' is false. A valid type means that the invoked metafunction's inner 'type' is not the marker type.

Member Typedef Documentation

typedef integral_c_tag bool_< C_ >::tag
inherited
typedef bool_ bool_< C_ >::type
inherited
typedef bool bool_< C_ >::value_type
inherited

Member Function Documentation

bool_< C_ >::BOOST_STATIC_CONSTANT ( bool  ,
value  = C_ 
)
inherited
BOOST_CONSTEXPR bool_< C_ >::operator bool ( ) const
inlineinherited

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