[#beman-optional-operator_3way-02] = xref:beman.adoc[beman]::xref:beman/optional.adoc[optional]::operator<=> :relfileprefix: ../../ :mrdocs: Three‐way comparison operator == Synopsis Declared in `<beman/optional/optional.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class T> constexpr std::strong_ordering operator<=>( xref:beman/optional/optional-03.adoc[optional<T>] const& x, xref:beman/optional/nullopt_t.adoc[nullopt_t] rhs) noexcept; ---- == Return Value The relative order of the objects == Parameters [cols=2] |=== | Name | Description | *x* | The left operand | *rhs* | The right operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#