Currently when I have to use vector.push_back() multiple times.
vector.push_back()
The code I\'m currently using is
std::vector TestVector;
You can also use Boost.Assignment:
const list primes = list_of(2)(3)(5)(7)(11); vector v; v += 1,2,3,4,5,6,7,8,9;