BloombergLP::bdlb::operator<=

Return true if the specified lhs is ordered before the specified rhs nullable object or lhs and rhs have the same value, and false otherwise. (See operator< and operator==.)

Synopsis

Declared in <bdlb_nullablevalue.h>

template<
    class LHS_TYPE,
    class RHS_TYPE>
bool
operator<=(
    LHS_TYPE const& lhs,
    NullableValue<RHS_TYPE> const& rhs)
requires (!NullableValue_DerivedFromOptional<LHS_TYPE>) &&
    requires { { lhs <= *rhs } -> NullableValue_ConvertibleToBool; };