HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by qcoh | Hacker News Reader
Parent
Full thread
qcoh
·
Out of curiosity, how did you do that in C++?
View on HN
Ididntdothis
·
It 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.
Reply on news.ycombinator.com