[#absl-BadStatusOrAccess-operator_assign-0f]
= xref:absl.adoc[absl]::xref:absl/BadStatusOrAccess.adoc[BadStatusOrAccess]::operator&equals;
:relfileprefix: ../../
:mrdocs:

Assignment operators

== Synopses

Declared in `&lt;absl&sol;status&sol;statusor&period;h&gt;`

Copy assignment operator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/BadStatusOrAccess.adoc[BadStatusOrAccess]&
xref:absl/BadStatusOrAccess/operator_assign-06.adoc[operator&equals;](xref:absl/BadStatusOrAccess.adoc[BadStatusOrAccess] const& other);
----

[.small]#xref:absl/BadStatusOrAccess/operator_assign-06.adoc[_» more&period;&period;&period;_]#

Move assignment operator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/BadStatusOrAccess.adoc[BadStatusOrAccess]&
xref:absl/BadStatusOrAccess/operator_assign-04.adoc[operator&equals;](xref:absl/BadStatusOrAccess.adoc[BadStatusOrAccess]&& other);
----

[.small]#xref:absl/BadStatusOrAccess/operator_assign-04.adoc[_» more&period;&period;&period;_]#

Assignment operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
exception&
xref:absl/BadStatusOrAccess/operator_assign-08.adoc[operator&equals;](exception const& value) = default;
----

[.small]#xref:absl/BadStatusOrAccess/operator_assign-08.adoc[_» more&period;&period;&period;_]#

Assignment operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
exception&
xref:absl/BadStatusOrAccess/operator_assign-0b.adoc[operator&equals;](exception&& value) = default;
----

[.small]#xref:absl/BadStatusOrAccess/operator_assign-0b.adoc[_» more&period;&period;&period;_]#

== Return Value

A reference to `&ast;this`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The exception object to copy from&period;
|===


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