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 { using Type = typename Type1233::MEMBER_NAME; }; \ 102 struct FAILURE { using Type = FALLBACK_TYPE; }; \ 104 BLAZE_CREATE_HAS_TYPE_MEMBER_TYPE_TRAIT( LOCAL_TYPE_TRAIT, MEMBER_NAME ); \ 107 using Type = typename blaze::If< LOCAL_TYPE_TRAIT<Type1233> \ 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.