<beman/optional/optional.hpp>
template<
typename T,
typename U>
requires (!is_derived_from_optional<U>) && std::three_way_comparable_with<T, U>
constexpr
std::compare_three_way_result_t<T, U>
operator<=>(
optional<T> const& x,
U const& v);
Name | Description |
---|---|
x | The left operand |
v | The right operand |