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_type< BOOST_TTI_TP_T, BOOST_TTI_TP_MARKER_TYPE > Struct Template Reference

A metafunction which checks whether the member 'type' returned from invoking the macro metafunction generated by BOOST_TTI_MEMBER_TYPE ( BOOST_TTI_TRAIT_MEMBER_TYPE ) is a valid type. More...

#include <member_type.hpp>

Inheritance diagram for boost::tti::valid_member_type< BOOST_TTI_TP_T, BOOST_TTI_TP_MARKER_TYPE >:
Collaboration diagram for boost::tti::valid_member_type< BOOST_TTI_TP_T, BOOST_TTI_TP_MARKER_TYPE >:

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 BOOST_TTI_TP_T, class BOOST_TTI_TP_MARKER_TYPE = BOOST_TTI_NAMESPACE::detail::notype>
struct boost::tti::valid_member_type< BOOST_TTI_TP_T, BOOST_TTI_TP_MARKER_TYPE >

A metafunction which checks whether the member 'type' returned from invoking the macro metafunction generated by BOOST_TTI_MEMBER_TYPE ( BOOST_TTI_TRAIT_MEMBER_TYPE ) is a valid type.

template<class BOOST_TTI_TP_T,class BOOST_TTI_TP_MARKER_TYPE = boost::tti::detail::notype> struct valid_member_type { static const value = unspecified; typedef mpl::bool_<true-or-false> type; };

The metafunction types and return:

BOOST_TTI_TP_T = returned inner 'type' from invoking the macro metafunction generated by BOOST_TTI_MEMBER_TYPE ( BOOST_TTI_TRAIT_MEMBER_TYPE ). BOOST_TTI_TP_MARKER_TYPE = (optional) a type to use as the marker type. defaults to the internal boost::tti::detail::notype.

returns = 'value' is true if the type is valid, otherwise 'value' is false. A valid type means that the returned 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: