4 ms·
Last I checked it's still quite easy to invalidate a std::vector's iterator in "safe" C++. Is that no longer the case?
by dikaiosune 10y ago
Last I checked it's still quite easy to invalidate a std::vector's iterator in "safe" C++. Is that no longer the case?
- Manishearth 10y agoStill possible. There is no "safe subset" of C++. There is a safer subset, which is usually safe. One usually ends up using lots of std::shared_ptr anyway.