The vector capacity function returns the memory size of the vector, expressed in terms of the size of the elements. The capacity can be equal to or larger than the size of the vector, as demonstrated by this code: std::vector<int> v; std::cout << "S...
chrisspicer.hashnode.dev2 min readNo responses yet.