35 #ifndef _BLAZE_UTIL_TYPETRAITS_GETMEMBERTYPE_H_
36 #define _BLAZE_UTIL_TYPETRAITS_GETMEMBERTYPE_H_
95 #define BLAZE_CREATE_GET_TYPE_MEMBER_TYPE_TRAIT( TYPE_TRAIT_NAME, MEMBER_NAME, FALLBACK_TYPE ) \
97 template< typename Type1233 > \
98 struct TYPE_TRAIT_NAME \
101 struct SUCCESS { typedef typename Type1233::MEMBER_NAME Type; }; \
102 struct FAILURE { typedef FALLBACK_TYPE Type; }; \
104 BLAZE_CREATE_HAS_TYPE_MEMBER_TYPE_TRAIT( LOCAL_TYPE_TRAIT, MEMBER_NAME ); \
107 typedef typename blaze::If< LOCAL_TYPE_TRAIT<Type1233> \
110 >::Type::Type Type; \
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the If class template.
Header file for the HasMember type traits.