Append overloads

Synopses

Declared in <absl/strings/cord.h>

Appends buffer to this cord, unless buffer has a zero length in which case this method has no effect on this cord instance.

void
Append(CordBuffer buffer);

Appends string data to this Cord.

void
Append(std::string_view src);

Appends another Cord to this Cord.

void
Append(Cord const& src);

Appends another Cord to this Cord by moving from it.

void
Append(Cord&& src);

Appends string data to this Cord.

template<
    typename T,
    EnableIfString<T> = 0>
void
Append(T&& src);

Template Parameters

Name

Description

T

The string type being consumed.

Parameters

Name

Description

buffer

The buffer whose contents are appended.

src

The string data to append.

Created with MrDocs