35 #ifndef _BLAZE_UTIL_CONSTRAINTS_COMPARABLE_H_
36 #define _BLAZE_UTIL_CONSTRAINTS_COMPARABLE_H_
66 template<
bool >
struct CONSTRAINT_POINTER_MUST_BE_COMPARABLE_FAILED;
67 template<>
struct CONSTRAINT_POINTER_MUST_BE_COMPARABLE_FAILED<true> {
enum { value = 1 }; };
78 #define BLAZE_CONSTRAINT_POINTER_MUST_BE_COMPARABLE(P1,P2) \
80 ::blaze::CONSTRAINT_TEST< \
81 ::blaze::CONSTRAINT_POINTER_MUST_BE_COMPARABLE_FAILED< ::blaze::IsConvertible<P1,P2>::value || \
82 ::blaze::IsConvertible<P2,P1>::value >::value > \
83 BLAZE_JOIN( CONSTRAINT_POINTER_MUST_BE_COMPARABLE_TYPEDEF, __LINE__ )
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the IsConvertible type trait.
Constraint wrapper class.
Header file for compile time constraints.