4 ms·
Out of curiosity, how did you do that in C++?
by qcoh 6y ago
Out of curiosity, how did you do that in C++?
- Ididntdothis 6y agoIt depends. Either iterate over the vector and delete the objects or just call clear(). Obviously you have to be sure that nobody else is accessing it at the same time.