1 #ifndef CASM_Comparisons
2 #define CASM_Comparisons
22 template<
typename Derived>
49 return *
static_cast<const Derived *
>(
this);
52 bool _eq(
const Derived &B)
const {
56 bool _ne(
const Derived &B)
const {
bool _ne(const Derived &B) const
const Derived & derived() const
Implements other comparisons in terms of '<'.
bool operator>=(const Derived &B) const
bool operator<=(const Derived &B) const
bool operator!=(const Derived &B) const
bool operator>(const Derived &B) const
bool _eq(const Derived &B) const
bool operator==(const Derived &B) const