Register a user-defined type to supports ordering. More...
#include <eve/traits/product_type.hpp>
Type | Type to register as supporting ordering operators |
Required header: #include <eve/traits/product_type.hpp>
By default, instances of eve::wide<T>
where T
is an User-Defined Product Type supports ordering. However, one can specialize eve::supports_ordering
for a given type to evaluates to false
in order to disable ordering for this type.
Alternatively, any type T
providing an internal eve_disable_ordering
type will be treated as if eve::supports_ordering<T>::
value
evaluates to false
, thus disabling ordering operators for eve::wide<T>
.