4 ms·
with C++ it is easier to shoot yourself in the foot if you use modern features and/or the STL
by b20000 5y ago
with C++ it is easier to shoot yourself in the foot if you use modern features and/or the STL
- gumby 5y agoI don't understand your comment; is a word missing? Nowadays the old STL has been subsumed with a standard library (for quite a long time) and it has a lot of pretty safe functionality. That functionality tends to be only optimized for the common cases -- say a couple of sigma out -- so you can roll your own alongside it. And a lot of the pointer manipulation inherited from C is unnecessary given things like range based for. So what were you referring to?