[#absl-Cord-2conversion] = xref:absl.adoc[absl]::xref:absl/Cord.adoc[Cord]::operator std::string :relfileprefix: ../../ :mrdocs: Converts a Cord into a `std::string()`. == Synopsis Declared in `<absl/strings/cord.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit operator std::string() const; ---- == Description This operator is marked explicit to prevent unintended Cord usage in functions that take a string. == Return Value A `std::string` holding a copy of the Cord's contents. [.small]#Created with https://www.mrdocs.com[MrDocs]#