Comparability Concepts#
- group Comparability Concepts
 Assortment of
conceptdefinitions requiring types to be comparable in various ways.Example:#
#include <hyperion/mpl/concepts/comparable.h using namespace hyperion::mpl::concepts; struct not_comparable {}; static_assert(EqualityComparable<int, int>); static_assert(!EqualityComparable<not_comparable, not_comparable>);
- 
template<typename TLhs, typename TRhs>
concept EqualityComparable# - #include <hyperion/mpl/concepts/comparable.h>
Concept definition requiring that a
TLhsis equality comparable with aTRhs 
- 
template<typename TLhs, typename TRhs>
concept InequalityComparable# - #include <hyperion/mpl/concepts/comparable.h>
Concept definition requiring that a
TLhsis inequality comparable with aTRhs 
- 
template<typename TLhs, typename TRhs>
concept LessThanComparable# - #include <hyperion/mpl/concepts/comparable.h>
Concept definition requiring that a
TLhsis less-than comparable with aTRhs 
- 
template<typename TLhs, typename TRhs>
concept LessThanOrEqualComparable# - #include <hyperion/mpl/concepts/comparable.h>
Concept definition requiring that a
TLhsis less-than-or-equal comparable with aTRhs 
- 
template<typename TLhs, typename TRhs>
concept GreaterThanComparable# - #include <hyperion/mpl/concepts/comparable.h>
Concept definition requiring that a
TLhsis greater-than comparable with aTRhs 
- 
template<typename TLhs, typename TRhs>
concept GreaterThanOrEqualComparable# - #include <hyperion/mpl/concepts/comparable.h>
Concept definition requiring that a
TLhsis greater-than-or-equal comparable with aTRhs 
- 
template<typename TLhs, typename TRhs>
concept ThreeWayComparable# - #include <hyperion/mpl/concepts/comparable.h>
Concept definition requiring that a
TLhsis three-way comparable with aTRhs