11 #ifndef INCLUDE_MOLASSEMBLER_TEMPLE_OPERATOR_SUPPLIERS_H
12 #define INCLUDE_MOLASSEMBLER_TEMPLE_OPERATOR_SUPPLIERS_H
15 namespace Molassembler {
25 const auto& lhs =
static_cast<const T&
>(*this);
26 const auto& rhs =
static_cast<const T&
>(other);
36 return static_cast<const T&
>(base);
40 const T& lhs = getDerived(*
this), rhs = getDerived(other);
42 return !(lhs < rhs) && !(rhs < lhs);
46 const T& lhs = getDerived(*
this), rhs = getDerived(other);
48 return (lhs < rhs) || (rhs < lhs);
52 const T& lhs = getDerived(*
this), rhs = getDerived(other);
58 const T& lhs = getDerived(*
this), rhs = getDerived(other);
64 const T& lhs = getDerived(*
this), rhs = getDerived(other);
86 return static_cast<const T&
>(base);
90 return getDerived(*this).tie() == getDerived(other).tie();
94 return getDerived(*this).tie() != getDerived(other).tie();
98 return getDerived(*this).tie() < getDerived(other).tie();
102 return getDerived(*this).tie() <= getDerived(other).tie();
106 return getDerived(*this).tie() > getDerived(other).tie();
110 return getDerived(*this).tie() >= getDerived(other).tie();
Supplies the inequality operator from an implemented equality operator.
Definition: OperatorSuppliers.h:23
Generates all operators using a method returning a tuple.
Definition: OperatorSuppliers.h:84
Supplies all operators from an implemented less-than operator.
Definition: OperatorSuppliers.h:34