absl::StrAppend

StrAppend overloads

Synopses

Declared in <absl/strings/str_cat.h>

Appends nothing to the destination string.

void
StrAppend(std::string* dest);
» more...

Appends a single string or number to an existing string.

void
StrAppend(
    std::string* dest,
    AlphaNum const& a);
» more...

Appends two strings or numbers to an existing string.

void
StrAppend(
    std::string* dest,
    AlphaNum const& a,
    AlphaNum const& b);
» more...

Appends three strings or numbers to an existing string.

void
StrAppend(
    std::string* dest,
    AlphaNum const& a,
    AlphaNum const& b,
    AlphaNum const& c);
» more...

Appends four strings or numbers to an existing string.

void
StrAppend(
    std::string* dest,
    AlphaNum const& a,
    AlphaNum const& b,
    AlphaNum const& c,
    AlphaNum const& d);
» more...

Appends five or more strings or numbers to an existing string.

template<typename... AV>
void
StrAppend(
    std::string* dest,
    AlphaNum const& a,
    AlphaNum const& b,
    AlphaNum const& c,
    AlphaNum const& d,
    AlphaNum const& e,
    AV const&... args);
» more...

Parameters

NameDescription
destThe destination string.
aThe value to append.
bThe second value to append.
cThe third value to append.
dThe fourth value to append.
eThe fifth value to append.
argsAny additional values to append.