[#beman-optional-bad_optional_access-operator_assign-0e]
= xref:beman.adoc[beman]::xref:beman/optional.adoc[optional]::xref:beman/optional/bad_optional_access.adoc[bad&lowbar;optional&lowbar;access]::operator&equals;
:relfileprefix: ../../../
:mrdocs:

Assignment operators

== Synopses

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

Assignment operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
exception&
xref:beman/optional/bad_optional_access/operator_assign-0d.adoc[operator&equals;](exception const& value) = default;
----

[.small]#xref:beman/optional/bad_optional_access/operator_assign-0d.adoc[_» more&period;&period;&period;_]#

Assignment operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
exception&
xref:beman/optional/bad_optional_access/operator_assign-01.adoc[operator&equals;](exception&& value) = default;
----

[.small]#xref:beman/optional/bad_optional_access/operator_assign-01.adoc[_» more&period;&period;&period;_]#


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