diff --git a/src/lib/utils/ValueWrapper.h b/src/lib/utils/ValueWrapper.h index 67f117e85..64a71a2eb 100644 --- a/src/lib/utils/ValueWrapper.h +++ b/src/lib/utils/ValueWrapper.h @@ -39,10 +39,18 @@ template constexpr bool operator>( const ValueWrapper &lhs, const ValueWrapper &rhs); +template +constexpr bool operator>=( + const ValueWrapper &lhs, const ValueWrapper &rhs); + template constexpr bool operator<( const ValueWrapper &lhs, const ValueWrapper &rhs); +template +constexpr bool operator<=( + const ValueWrapper &lhs, const ValueWrapper &rhs); + template std::ostream &operator<<(std::ostream &s, ValueWrapper const &v); @@ -93,7 +101,9 @@ constexpr ValueT &ValueWrapper::value() { BIN_OP(bool, ==) BIN_OP(bool, !=) BIN_OP(bool, >) +BIN_OP(bool, >=) BIN_OP(bool, <) +BIN_OP(bool, <=) #undef BIN_OP