Cat overloads

Synopses

Declared in <util/vector.h>

Concatenate two vectors.

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

Concatenate two vectors, moving elements.

template<typename V>
V
Cat(
    V v1,
    V&& 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