3 ms·
But has been in Boost for something like 15 years and a version was in TR1. In fact, the motivation for shared_ptr is worth reading: http://www.open-std.org/jtc
by asb 12y ago
But has been in Boost for something like 15 years and a version was in TR1. In fact, the motivation for shared_ptr is worth reading: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2003/n1450.html http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2003/n145...
- scott_s 12y agoIt's worth noting, however, that unique_ptr was introduced in C++11 because it relies on move semantics, which were not introduced until then. auto_ptr is not quite the same. See http://www.drdobbs.com/cpp/c11-uniqueptr/240002708 http://www.drdobbs.com/cpp/c11-uniqueptr/240002708