Re: [Boost-bugs] [Boost C++ Libraries] #1109: intrusive_ptr needs a helper base class

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1109: intrusive_ptr needs a helper base class
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-16 13:38:16


#1109: intrusive_ptr needs a helper base class
-------------------------------+-----------------------
  Reporter: pdimov | Owner: pdimov
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: smart_ptr
   Version: | Severity: Problem
Resolution: | Keywords:
-------------------------------+-----------------------

Comment (by ArtemGr):

 Replying to [comment:6 Olaf van der Spek <olafvdspek@…>]:
> What's the advantage of intrusive over shared when make_shared is used?

 Olaf,
 one important advantage is that the class does not need to be fully
 defined,[[BR]]
 another advantage is that you can create intrusive_ptr anywhere, you don't
 have to pass it around in order to have it.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/1109#comment:7>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC