[#absl-Status-operator_assign-06]
= xref:absl.adoc[absl]::xref:absl/Status.adoc[Status]::operator&equals;
:relfileprefix: ../../
:mrdocs:

Assignment operators

== Synopses

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

Copy assignment operator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/Status.adoc[Status]&
xref:absl/Status/operator_assign-0e.adoc[operator&equals;](xref:absl/Status.adoc[Status] const& x);
----

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

Move assignment operator&period; The moved&hyphen;from state is valid but unspecified&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/Status.adoc[Status]&
xref:absl/Status/operator_assign-0a.adoc[operator&equals;](xref:absl/Status.adoc[Status]&& x) noexcept;
----

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

== Return Value

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *x*
| The status to copy from&period;
|===


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