1 #ifndef CASM_Comparisons
2 #define CASM_Comparisons
24 template <
typename Base>
41 return (!(derived() < B) && !(B < derived()));
50 template <
typename Base>
Non-std smart pointer classes and functions.
Implements other comparisons in terms of '<'.
bool operator<=(const MostDerived &B) const
bool operator==(const MostDerived &B) const
bool ne_impl(const MostDerived &B) const
Base::MostDerived MostDerived
bool operator>=(const MostDerived &B) const
bool operator!=(const MostDerived &B) const
bool eq_impl(const MostDerived &B) const
bool operator>(const MostDerived &B) const