The C++11 standard gives an opportunity to initialize a vector with an initialization list like this.
vector a {3, 5, 6, 2};
I am
Yes ! You just need to take in an std::initializer_list and initialize your vector with it.
std::initializer_list
struct Foo { Foo(std::initializer_list l) : _vec{l} { } std::vector _vec; };
Live on Coliru