DEV Community

loading...

Discussion on: How to clear a vector in C++?

Collapse
dynamicsquid profile image
DynamicSquid

Why did you use iterators when looping through a vector?