Orders a value after an optional with greater-than.
Declared in <beman/optional/optional.hpp>
template<
typename T,
typename U>
constexpr
bool
operator>(
T const& lhs,
optional<U> const& rhs)
requires (!detail::is_optional<T>) && detail::optional_gt_rel<T, U>;
true if rhs is disengaged, or lhs orders after its contained value.
| Name | Description |
|---|---|
| lhs | The value operand. |
| rhs | The optional operand. |