[#beman-optional-bad_optional_access-operator_assign-01]
= 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 operator

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
exception&
operator&equals;(exception&& value) = default;
----

== Return Value

Base class for all library exceptions&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| The object to move assign from
|===


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