Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
util
constraints
LessThan.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_UTIL_CONSTRAINTS_LESSTHAN_H_
36
#define _BLAZE_UTIL_CONSTRAINTS_LESSTHAN_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <
blaze/util/typetraits/HasLessThan.h
>
44
45
46
namespace
blaze {
47
48
//=================================================================================================
49
//
50
// MUST_HAVE_LESS_THAN_COMPARISON CONSTRAINT
51
//
52
//=================================================================================================
53
54
//*************************************************************************************************
61
#define BLAZE_CONSTRAINT_MUST_HAVE_LESS_THAN_COMPARISON(T1,T2) \
62
static_assert( ::blaze::HasLessThan_v<T1,T2>, "Types without less-than comparison detected" )
63
//*************************************************************************************************
64
65
66
67
68
//=================================================================================================
69
//
70
// MUST_NOT_HAVE_LESS_THAN_COMPARISON CONSTRAINT
71
//
72
//=================================================================================================
73
74
//*************************************************************************************************
81
#define BLAZE_CONSTRAINT_MUST_NOT_HAVE_LESS_THAN_COMPARISON(T1,T2) \
82
static_assert( !::blaze::HasLessThan_v<T1,T2>, "Type with less-than comparison detected" )
83
//*************************************************************************************************
84
85
}
// namespace blaze
86
87
#endif
HasLessThan.h
Header file for the HasLessThan type trait.
Generated by
1.18.0