Return whether the left-hand operand is after or equal to the right.
Declared in <bslstl_optional.h>
template<
class t_LHS_TYPE,
class t_RHS_TYPE>
constexpr
bool
operator>=(
t_LHS_TYPE const& lhs,
bsl::optional<t_RHS_TYPE> const& rhs);
Return true if the specified lhs is ordered after the specified rhs optional object or if lhs and rhs have the same value, and false otherwise. (See operator> and operator==.) This function can be called in constant expressions only if t_RHS_TYPE is not allocator-aware.
true if lhs is ordered after or equal to rhs, and false otherwise
| Name | Description |
|---|---|
| lhs | left-hand operand |
| rhs | right-hand operand |