[#absl-StatusOr-operator_assign-043] = xref:absl.adoc[absl]::xref:absl/StatusOr.adoc[StatusOr]::operator= :relfileprefix: ../../ :mrdocs: Copy assignment operator. == Synopsis Declared in `<absl/status/statusor.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/StatusOr.adoc[StatusOr]& operator=(xref:absl/StatusOr.adoc[StatusOr] const& other) = default; ---- == Description `StatusOr<T>` is copy assignable if `T` is copy constructible and copy assignable. == Return Value A reference to `*this`. == Parameters [cols="1,4"] |=== | Name| Description | *other* | The source object. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#