beman::optional::operator<=>

Three-way comparison operator

Synopsis

Declared in <beman/optional/optional.hpp>
template<class T>
constexpr
std::strong_ordering
operator<=>(
    optional<T> const& x,
    nullopt_t rhs) noexcept;


Return Value

The relative order of the objects

Parameters

Name Description
x The left operand
rhs The right operand

Created with MrDocs