eve::supports_ordering< Type > Struct Template Reference
Register a user-defined type to supports ordering. More...
Detailed Description
template<typename Type>
struct eve::supports_ordering< Type >
struct eve::supports_ordering< Type >
Register a user-defined type to supports ordering.
- Template Parameters
-
Type Type to register as supporting ordering operators
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>
.
Helper variable template
template<typename Type>
Register a user-defined type to supports ordering.
Definition: product_type.hpp:64
Inherits std::true_type.