[#Cat-05a]
= Cat
:mrdocs:

`Cat` overloads

== Synopses

Declared in `&lt;util&sol;vector&period;h&gt;`

Concatenate two vectors&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename V&gt;
V
xref:Cat-05d.adoc[Cat](
    V v1,
    V const& v2);
----

[.small]#xref:Cat-05d.adoc[_» more&period;&period;&period;_]#

Concatenate two vectors, moving elements&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename V&gt;
V
xref:Cat-00.adoc[Cat](
    V v1,
    V&& v2);
----

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

== Return Value

v1 with the elements of v2 appended&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *v1*
| The first vector, taken by value and used as the result&period;
| *v2*
| The second vector, whose elements are copied onto the end of v1&period;
|===


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