Cat

Cat overloads

Synopses

Declared in <util/vector.h>

Concatenate two vectors.

template<typename V>
V
Cat(
    V v1,
    V const& v2);
» more...

Concatenate two vectors, moving elements.

template<typename V>
V
Cat(
    V v1,
    V&& v2);
» more...

Return Value

v1 with the elements of v2 appended.

Parameters

NameDescription
v1The first vector, taken by value and used as the result.
v2The second vector, whose elements are copied onto the end of v1.