append a vector in an other vector cpp code example Example: appending a vector in vector a.insert(a.end(), b.begin(), b.end());