is_totally_ordered¶
Header¶
#include <tick/traits/is_totally_ordered.h>
Description¶
Checks if type T
has operators for ordering and equality, and they are
convertible to bool
.
Requirements¶
The type T
satisfies is_totally_ordered
if
- The type
T
satisfies is_weakly_ordered - The type
T
satisfies is_equality_comparable
Synopsis¶
TICK_TRAIT(is_totally_ordered,
quote<is_weakly_ordered>,
quote<is_equality_comparable>
)
{};