Glossary: Data Structures and Algorithms in C++
Capacity
Also written: capacity()
The number of spare slots a std::vector has reserved. When it runs out, the vector moves everything to a bigger block.
Glossary: Data Structures and Algorithms in C++
Also written: capacity()
The number of spare slots a std::vector has reserved. When it runs out, the vector moves everything to a bigger block.