absl::StrCat

Merges two strings or numbers into a single string.

Synopsis

Declared in <absl/strings/str_cat.h>

[[nodiscard]]
std::string
StrCat(
    AlphaNum const& a,
    AlphaNum const& b);

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.