Creates a Cord from a src string.

Synopsis

Declared in <absl/strings/cord.h>

explicit
Cord(std::string_view src);

Description

This constructor is marked explicit to prevent implicit Cord constructions from arguments convertible to an absl::string_view.

Parameters

Name

Description

src

The string data to copy into the Cord.

Created with MrDocs