[Boost-bugs] [Boost C++ Libraries] #5183: intrusive::tree_algorithms::replace_node fails with safe_link

Subject: [Boost-bugs] [Boost C++ Libraries] #5183: intrusive::tree_algorithms::replace_node fails with safe_link
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-02-11 23:15:52


#5183: intrusive::tree_algorithms::replace_node fails with safe_link
--------------------------------------+-------------------------------------
 Reporter: johannes.gajdosik@… | Owner:
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
  Version: Boost 1.46.0 | Severity: Problem
 Keywords: |
--------------------------------------+-------------------------------------
 intrusive::tree_algorithms::replace_node should modify the
 node_to_be_replaced, so that it is not member of the tree anymore.
 Otherwise safe_link mode will abort when destructing node_to_be_replaced.
 This is demonstrated in attached Test Program.

 Yours,
 Johannes Gajdosik

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5183>
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:05 UTC