Orders a value after or equal to an optional.

Synopsis

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_ge_rel<T, U>;

Return Value

true if rhs is disengaged, or lhs does not order before its contained value.

Parameters

Name

Description

lhs

The value operand.

rhs

The optional operand.

Created with MrDocs