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

STL implements a vector as having an allocation "capacity" (queried by ) that may be somewhat larger than that collection's current size (queried by  ).

Additional information about vector size (includes interactive examples)