C++ Language/Std/Stl/CollectionClasses/SequenceCollections/Vector/Size
STL implements a vector as having an allocation "capacity" (queried by veciVar.capacity()
) that may be somewhat larger than that collection's current size (queried by veciVar.size()
).
Additional information about vector size (includes interactive examples)