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