type_inspection.hpp
Go to the documentation of this file.
7 /*************************************************************************************************/
46 static const bool value = sizeof(SFINAE<C##TypeInQuestion>(0)) == sizeof(adobe::detail::yes_struct); \
145 static adobe::detail::yes_struct SFINAE( adobe::detail::member_test_helper<sizeof(&T##MemberInQuestion::MemberInQuestion)> * ); \
190 static adobe::detail::yes_struct SFINAE(typename T##TemplateInQuestion::template TemplateInQuestion<int>*); \
193 static const bool value = sizeof(SFINAE<C##TemplateInQuestion>(0)) == sizeof(adobe::detail::yes_struct); \
230 static adobe::detail::yes_struct SFINAE(typename T##TemplateInQuestion::template TemplateInQuestion<int, int>*); \
233 static const bool value = sizeof(SFINAE<C##TemplateInQuestion>(0)) == sizeof(adobe::detail::yes_struct); \
245 static adobe::detail::yes_struct SFINAE(typename T##TemplateInQuestion::template TemplateInQuestion<int, int, int>*); \
248 static const bool value = sizeof(SFINAE<C##TemplateInQuestion>(0)) == sizeof(adobe::detail::yes_struct); \
is T::type a valid type (or a compile error?) Definition: type_inspection.hpp:76 ELSEtype type Definition: type_inspection.hpp:94 Definition: type_inspection.hpp:21 Definition: type_inspection.hpp:22 ADOBE_HAS_TYPE_IMPL(type) Definition: functional.hpp:26 Definition: type_inspection.hpp:84 if_has_type< has_type_type< T >::value, T, Default >::type type Definition: type_inspection.hpp:96 #define ADOBE_HAS_TYPE(C, TypeInQuestion) returns true iff C has an internal type named 'TypeInQuestion'. ie returns true iff C::TypeInQuestion... Definition: type_inspection.hpp:65 |