3 ms·
Those ridiculous things are things we find everyone does again and again, even in modern C++. C++11 doesn't really add anything in the safety department over s
by pcwalton 11y ago
Those ridiculous things are things we find everyone does again and again, even in modern C++.
C++11 doesn't really add anything in the safety department over smart pointer code that you could write in earlier versions of C++.
- pjmlp 11y agoQuite true, the only thing that C++11 does is make it part of the standard library and offer a few language features that make it more pleasant to the eye. I was already using smart pointers with COM in 1998, but of course most of the third party libraries we depended on, did not.