insert in the end in vector code example
Example: insert vector to end of vector c++
vector<int> a;
vector<int> b;
a.insert(a.end(), b.begin(), b.end());
// or
a.insert(std::end(a), std::begin(b), std::end(b));
vector<int> a;
vector<int> b;
a.insert(a.end(), b.begin(), b.end());
// or
a.insert(std::end(a), std::begin(b), std::end(b));