StrCat overloads
Synopses
Declared in <absl/strings/str_cat.h>
Merges the given strings or numbers into a single string.
[[nodiscard]]
std::string
StrCat();
Merges a single value into a string.
Merges a single arithmetic value into a string.
template<typename T>
[[nodiscard]]
std::string
StrCat(/* implementation-defined */ a);
Merges two strings or numbers into a single string.
Merges three strings or numbers into a single string.
Merges four strings or numbers into a single string.
Merges five or more strings or numbers into a single string.
Return Value
-
An empty string.
-
The string representation of
a. -
The concatenation of the arguments.
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
a |
The value to convert. |
b |
The second value to concatenate. |
c |
The third value to concatenate. |
d |
The fourth value to concatenate. |
e |
The fifth value to concatenate. |
args |
Any additional values to concatenate. |
Created with MrDocs