Concatenate two vectors.

Synopsis

Declared in <util/vector.h>

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

Return Value

v1 with the elements of v2 appended.

Parameters

Name

Description

v1

The first vector, taken by value and used as the result.

v2

The second vector, whose elements are copied onto the end of v1.

Created with MrDocs