[#beman-optional-operator_eq-03] = xref:beman.adoc[beman]::xref:beman/optional.adoc[optional]::operator== :relfileprefix: ../../ :mrdocs: Compares two `nullopt_t` objects for equality. == Synopsis Declared in `<beman/optional/optional.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr bool operator==( xref:beman/optional/nullopt_t.adoc[nullopt_t] lhs, xref:beman/optional/nullopt_t.adoc[nullopt_t] rhs) noexcept; ---- == Return Value Always `true`, since all `nullopt_t` objects compare equal. == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | The left‐hand `nullopt_t` object. | *rhs* | The right‐hand `nullopt_t` object. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#