[#absl-Cord-operator_assign-0ff] = xref:absl.adoc[absl]::xref:absl/Cord.adoc[Cord]::operator= :relfileprefix: ../../ :mrdocs: Assigns a `std::string&&` rvalue to this Cord. == Synopsis Declared in `<absl/strings/cord.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename T, xref:absl/Cord.adoc[Cord::EnableIfString<T>] = 0> xref:absl/Cord.adoc[Cord]& operator=(T&& src); ---- == Return Value A reference to this Cord. == Template Parameters [cols="1,4"] |=== | Name| Description | *T* | The string type being consumed. |=== == Parameters [cols="1,4"] |=== | Name| Description | *src* | The string whose contents are moved into the Cord. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#