[#absl-Cord-2constructor-04]
= xref:absl.adoc[absl]::xref:absl/Cord.adoc[Cord]::Cord
:relfileprefix: ../../
:mrdocs:

Creates a Cord from a `src` string&period;

== Synopsis

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

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

== Description

This constructor is marked explicit to prevent implicit Cord constructions from arguments convertible to an `absl&colon;&colon;string&lowbar;view`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *src*
| The string data to copy into the Cord&period;
|===


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