13 Oct
2016
13 Oct
'16
9:36 p.m.
On 13/10/2016 22:42, Oswin Krause wrote:
Well, prior to C++11 there is not such a question due to a lack of std::shared_ptr, so yes, solution 1) assumes C++11. For a new library I would take the route that is easiest to maintain in the years to come.
Actually std::tr1::shared_ptr or stdext::shared_ptr (variously) has been in many CRTs for many years before C++11. Though it didn't catch on as much.