beman::optional::operator<=

Less-than-or-equal operator

Synopsis

Declared in <beman/optional/optional.hpp>
template<
    typename T,
    typename U>
constexpr
bool
operator<=(
    optional<T> const& lhs,
    U const& rhs)
requires detail::optional_le_rel<T, U>;


Return Value

true if the left object is less than or equal to the right object, false otherwise

Parameters

Name Description
lhs The left operand
rhs The right operand

Created with MrDocs