StrAppend overloads

Synopses

Declared in <absl/strings/str_cat.h>

Appends nothing to the destination string.

void
StrAppend(std::string* dest);

Appends a single string or number to an existing string.

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

Appends two strings or numbers to an existing string.

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

Appends three strings or numbers to an existing string.

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

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);

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);

Parameters

Name

Description

dest

The destination string.

a

The value to append.

b

The second value to append.

c

The third value to append.

d

The fourth value to append.

e

The fifth value to append.

args

Any additional values to append.

Created with MrDocs