I can create an array and initialize it like this:
int a[] = {10, 20, 30};
How do I create a std::vector and initialize it sim
std::vector
In C++11:
static const int a[] = {10, 20, 30}; vector vec (begin(a), end(a));