absl::StrCat

Merges five or more strings or numbers into a single string.

Synopsis

Declared in <absl/strings/str_cat.h>

template<typename... AV>
[[nodiscard]]
std::string
StrCat(
    AlphaNum const& a,
    AlphaNum const& b,
    AlphaNum const& c,
    AlphaNum const& d,
    AlphaNum const& e,
    AV const&... args);

Return Value

The concatenation of the arguments.

NOTE

The return value should not be discarded.

Parameters

NameDescription
aThe first value to concatenate.
bThe second value to concatenate.
cThe third value to concatenate.
dThe fourth value to concatenate.
eThe fifth value to concatenate.
argsAny additional values to concatenate.