Concatenating two std::vectors

vector1.insert( vector1.end(), vector2.begin(), vector2.end() );

Leave a Comment