[#absl-Cord-Flatten]
= xref:absl.adoc[absl]::xref:absl/Cord.adoc[Cord]::Flatten
:relfileprefix: ../../
:mrdocs:

Flattens the cord into a single array and returns a view of the data&period;

== Synopsis

Declared in `&lt;absl&sol;strings&sol;cord&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string&lowbar;view
Flatten();
----

== Description

If the cord was already flat, the contents are not modified&period;

== Return Value

A view of the flattened data&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
