Less-than-or-equal operator
<beman/optional/optional.hpp>
template<
typename T,
typename U>
constexpr
bool
operator<=(
T const& lhs,
optional<U> const& rhs)
requires detail::optional_le_rel<T, U>;
true if the left object is less than or equal to the right object, false otherwise
| Name | Description |
|---|---|
| lhs | The left operand |
| rhs | The right operand |