C++ Language/Std/Stl/CollectionClasses/SequenceCollections/Vector/Construction

There are many ways to construct a vector, such as initializing it from a literal value using brace-syntax:.

Additional information about vector construction (includes interactive examples)