Subject: [Boost-bugs] [Boost C++ Libraries] #7829: Add add_ref param to intrusive_ptr::reset
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-12-25 22:15:57
#7829: Add add_ref param to intrusive_ptr::reset
---------------------------------------------------------+------------------
Reporter: Bruno Martinez Aguerre <bruno.uy@â¦> | Owner: pdimov
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: smart_ptr
Version: Boost 1.52.0 | Severity: Not Applicable
Keywords: intrusive_ptr |
---------------------------------------------------------+------------------
intrusive_ptr::reset should have an optional bool add_ref=true parameter
just as the intrusive_ptr constructor has. Currently you can call the
constructor and assign, but this forces you to mention the template
pointer type.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7829> 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:11 UTC