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

Concatenate two vectors&period;

== Synopsis

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

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

== 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]#
