35 #ifndef _BLAZE_UTIL_CONSTRAINTS_SAMETYPE_H_
36 #define _BLAZE_UTIL_CONSTRAINTS_SAMETYPE_H_
71 #define BLAZE_CONSTRAINT_MUST_BE_SAME_TYPE(A,B) \
72 static_assert( ::blaze::IsSame<A,B>::value, "Non-matching types detected" )
102 #define BLAZE_CONSTRAINT_MUST_NOT_BE_SAME_TYPE(A,B) \
103 static_assert( !::blaze::IsSame<A,B>::value, "Matching types detected" )
131 #define BLAZE_CONSTRAINT_MUST_BE_STRICTLY_SAME_TYPE(A,B) \
132 static_assert( ::blaze::IsStrictlySame<A,B>::value, "Non-matching types detected" )
160 #define BLAZE_CONSTRAINT_MUST_NOT_BE_STRICTLY_SAME_TYPE(A,B) \
161 static_assert( !::blaze::IsStrictlySame<A,B>::value, "Matching types detected" )
Header file for the IsSame and IsStrictlySame type traits.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57