[#absl-StrCat-04]
= xref:absl.adoc[absl]::StrCat
:relfileprefix: ../
:mrdocs:

`StrCat` overloads

== Synopses

Declared in `&lt;absl&sol;strings&sol;str&lowbar;cat&period;h&gt;`

Merges the given strings or numbers into a single string&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
std::string
xref:absl/StrCat-09.adoc[StrCat]();
----

[.small]#xref:absl/StrCat-09.adoc[_» more&period;&period;&period;_]#

Merges a single value into a string&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
std::string
xref:absl/StrCat-03.adoc[StrCat](xref:absl/AlphaNum.adoc[AlphaNum] const& a);
----

[.small]#xref:absl/StrCat-03.adoc[_» more&period;&period;&period;_]#

Merges a single arithmetic value into a string&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename T&gt;
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
std::string
xref:absl/StrCat-0d2.adoc[StrCat](&sol;&ast; implementation-defined &ast;&sol; a);
----

[.small]#xref:absl/StrCat-0d2.adoc[_» more&period;&period;&period;_]#

Merges two strings or numbers into a single string&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
std::string
xref:absl/StrCat-0d3.adoc[StrCat](
    xref:absl/AlphaNum.adoc[AlphaNum] const& a,
    xref:absl/AlphaNum.adoc[AlphaNum] const& b);
----

[.small]#xref:absl/StrCat-0d3.adoc[_» more&period;&period;&period;_]#

Merges three strings or numbers into a single string&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
std::string
xref:absl/StrCat-0dd.adoc[StrCat](
    xref:absl/AlphaNum.adoc[AlphaNum] const& a,
    xref:absl/AlphaNum.adoc[AlphaNum] const& b,
    xref:absl/AlphaNum.adoc[AlphaNum] const& c);
----

[.small]#xref:absl/StrCat-0dd.adoc[_» more&period;&period;&period;_]#

Merges four strings or numbers into a single string&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
std::string
xref:absl/StrCat-0f.adoc[StrCat](
    xref:absl/AlphaNum.adoc[AlphaNum] const& a,
    xref:absl/AlphaNum.adoc[AlphaNum] const& b,
    xref:absl/AlphaNum.adoc[AlphaNum] const& c,
    xref:absl/AlphaNum.adoc[AlphaNum] const& d);
----

[.small]#xref:absl/StrCat-0f.adoc[_» more&period;&period;&period;_]#

Merges five or more strings or numbers into a single string&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename&period;&period;&period; AV&gt;
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
std::string
xref:absl/StrCat-00.adoc[StrCat](
    xref:absl/AlphaNum.adoc[AlphaNum] const& a,
    xref:absl/AlphaNum.adoc[AlphaNum] const& b,
    xref:absl/AlphaNum.adoc[AlphaNum] const& c,
    xref:absl/AlphaNum.adoc[AlphaNum] const& d,
    xref:absl/AlphaNum.adoc[AlphaNum] const& e,
    AV const&&period;&period;&period; args);
----

[.small]#xref:absl/StrCat-00.adoc[_» more&period;&period;&period;_]#

== Return Value

* An empty string&period;
* The string representation of `a`&period;
* The concatenation of the arguments&period;

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====
== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| The value to convert&period;
| *b*
| The second value to concatenate&period;
| *c*
| The third value to concatenate&period;
| *d*
| The fourth value to concatenate&period;
| *e*
| The fifth value to concatenate&period;
| *args*
| Any additional values to concatenate&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
