3 ms·
std::auto_ptr was broken and didn't work with STL. It wasn't until C++11 introduced "move" semantics that you could really use smart pointers. You can't really
by IX-103 4y ago
std::auto_ptr was broken and didn't work with STL. It wasn't until C++11 introduced "move" semantics that you could really use smart pointers.
You can't really blame him for not using a part of the language that was unusable, right?