35 #ifndef _BLAZE_MATH_TYPETRAITS_ISPADDINGENABLED_H_ 36 #define _BLAZE_MATH_TYPETRAITS_ISPADDINGENABLED_H_ 71 template<
typename T >
72 struct IsPaddingEnabledHelper2 {
73 static constexpr
bool test(
bool (*fnc)() ) {
return fnc(); }
74 static constexpr
bool test(
bool b ) {
return b; }
75 static constexpr
bool value = test( T::paddingEnabled );
108 template<
typename T >
110 :
public BoolConstant< If_t< IsPaddingEnabledHelper1_v<T>
111 , IsPaddingEnabledHelper2<T>
112 , AlwaysFalse<T> >::value >
130 template<
typename T >
constexpr bool IsPaddingEnabled_v
Auxiliary variable template for the IsPaddingEnabled type trait.The IsPaddingEnabled_v variable templ...
Definition: IsPaddingEnabled.h:131
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:72
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Compile time check for data types.This type trait queries the nested paddingEnabled member of the giv...
Definition: IsPaddingEnabled.h:109
Header file for the HasMember type traits.
Header file for the AlwaysFalse type trait.
Header file for the IntegralConstant class template.
BLAZE_CREATE_HAS_DATA_OR_FUNCTION_MEMBER_TYPE_TRAIT(HasLoad, load)
Compile time check for data types.This type trait provides the information whether the given data typ...