C++11: List Initializing a vector
Many of the
array examples in this chapter used list initializers to specify the initial
array element values. C++11 also allows this for
vectors (and other C++ Standard Library data structures). At the time of this writing, list initializers were not yet supported for
vectors in Visual C++.