[#beman-optional-operator_eq-03]
= xref:beman.adoc[beman]::xref:beman/optional.adoc[optional]::operator&equals;&equals;
:relfileprefix: ../../
:mrdocs:

Equality operator

== Synopsis

Declared in `&lt;beman&sol;optional&sol;optional&period;hpp&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
bool
operator&equals;&equals;(
    xref:beman/optional/nullopt_t.adoc[nullopt&lowbar;t] lhs,
    xref:beman/optional/nullopt_t.adoc[nullopt&lowbar;t] rhs) noexcept;
----

== Return Value

`true` if the objects are equal, `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| The left operand
| *rhs*
| The right operand
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
