VCCC  2024.05
VisualCamp Common C++ library
concat(std.vector)

concatenate two vector More...

Detailed Description

concat two vectors

Parameters
totarget vector
fromsource vector
Returns

Functions

template<typename T , typename Allocator >
std::vector< T, Allocator > & concat (std::vector< T, Allocator > &to, const std::vector< T, Allocator > &from)
 
template<typename T , typename Allocator >
std::vector< T, Allocator > & concat (std::vector< T, Allocator > &to, std::vector< T, Allocator > &&from)
 concat two vectors More...
 

Function Documentation

◆ concat() [1/2]

std::vector<T, Allocator>& vccc::concat ( std::vector< T, Allocator > &  to,
const std::vector< T, Allocator > &  from 
)

◆ concat() [2/2]

std::vector<T, Allocator>& vccc::concat ( std::vector< T, Allocator > &  to,
std::vector< T, Allocator > &&  from 
)
Parameters
totarget vector
fromsource vector
Returns