6 years, 7 months ago
Highlights
Remove any items from a list while iterating
Forum Reply
@Josh Klint I think shared_ptr is a better way in c ++ 11, we can save the setting "dead flag" by calling std :: shared_ptr :: reset to set the pointer to null.
6 years, 7 months ago
Latest Activity
Badges
5-Year Veteran
1-Year Veteran
Spotlight
View all badges →