Boost logo

Boost Users :

Subject: Re: [Boost-users] intrusive_ptr vs shared-ptr
From: gast128 (gast128_at_[hidden])
Date: 2013-01-19 17:54:25


Igor R <boost.lists <at> gmail.com> writes:

> Because shared_ptr doesn't require *any* additional code (which should
> be designed, implemented, tested, supported, etc).

Yes for a large I support that, but in some respects intrusive_ptr's have some
benefit over shared_ptr's (e.g. you cannot pass a shared_ptr of urslef in ctor's
etc.)


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net