3 ms·
Both unique_ptr and shared_ptr have been standard since C++11 which is also when auto_ptr was deprecated (auto_ptr is/was also not reference counted).
by mattnewport 8y ago
Both unique_ptr and shared_ptr have been standard since C++11 which is also when auto_ptr was deprecated (auto_ptr is/was also not reference counted).