Three‐way comparison operator
Synopsis
Declared in <beman/optional/optional.hpp>
constexpr
std::strong_ordering
operator<=>(
nullopt_t lhs,
nullopt_t rhs) noexcept;
Return Value
The relative order of the objects
Parameters
| Name | Description |
|---|---|
lhs |
The left operand |
rhs |
The right operand |
Created with MrDocs