absl::Cord::operator=

Assigns a std::string&& rvalue to this Cord.

Synopsis

Declared in <absl/strings/cord.h>

template<
    typename T,
    Cord::EnableIfString<T> = 0>
Cord&
operator=(T&& src);

Return Value

A reference to this Cord.

Template Parameters

NameDescription
TThe string type being consumed.

Parameters

NameDescription
srcThe string whose contents are moved into the Cord.