3 ms·
Stroustup publicly argued against shared_ptr. shared_ptr is as bad as auto_ptr.
by ExpiredLink 12y ago
Stroustup publicly argued against shared_ptr. shared_ptr is as bad as auto_ptr.
- scott_s 12y agoWhat were his arguments? Can you point to something? I spent about 5 minutes googling, but I could only come up with his explanations for when to use it, and when not to use it. For example: http://www.stroustrup.com/C++11FAQ.html#std-shared_ptr http://www.stroustrup.com/C++11FAQ.html#std-shared_ptr