[#absl-StatusOr-operator_assign-0c] = xref:absl.adoc[absl]::xref:absl/StatusOr.adoc[StatusOr]::operator= :relfileprefix: ../../ :mrdocs: Perfect‐forwarding value assignment operator (captured‐by‐this overload). == Synopsis Declared in `<absl/status/statusor.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename U = T> requires internal_statusor::IsAssignmentValid<T, U, true>::value xref:absl/StatusOr.adoc[StatusOr]& operator=(U&& v); ---- == Return Value A reference to `*this`. == Parameters [cols="1,4"] |=== | Name| Description | *v* | The value to assign into the held object. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#