I know - this is resurrecting an old thread - but it was the first search result so I thought of updating the answer.
With C++23 there is a easier solution by using
v1.append_range(v2);