Return whether lhs is less than or equal to rhs.
Synopsis
Declared in <bdlb_nullablevalue.h>
template<
class LHS_TYPE,
class RHS_TYPE>
bool
operator<=(
std::optional<LHS_TYPE> const& lhs,
NullableValue<RHS_TYPE> const& rhs)
requires requires {
{ *lhs <= *rhs } ‐> NullableValue_ConvertibleToBool;
};
Description
Return true if lhs is ordered before rhs or they are equal.
Return Value
true if lhs is ordered before rhs or they are equal, and false otherwise
Parameters
Name |
Description |
lhs |
left‐hand operand |
rhs |
right‐hand operand |
Created with MrDocs