Opened 12 years ago
Closed 12 years ago
#5183 closed Bugs (fixed)
intrusive::tree_algorithms::replace_node fails with safe_link
Reported by: | Owned by: | Ion Gaztañaga | |
---|---|---|---|
Milestone: | To Be Determined | Component: | intrusive |
Version: | Boost 1.46.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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
Attachments (1)
Change History (3)
by , 12 years ago
Attachment: | IntrusiveTest.C added |
---|
comment:1 by , 12 years ago
Component: | None → intrusive |
---|---|
Owner: | set to |
Note:
See TracTickets
for help on using tickets.
Demonstrate safe_link failure of replace_node