Converts a Cord into a std::string().

Synopsis

Declared in <absl/strings/cord.h>

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.

Created with MrDocs