Subject: Re: [boost] [block_ptr] & Java
From: Phil Bouchard (philippe_at_[hidden])
Date: 2013-08-31 13:22:29
On 8/31/2013 1:13 PM, Mathieu Champlon wrote:
> On 31/08/2013 17:14, Phil Bouchard wrote:
>> It keeps track of the order of construction and so their are deleted
>> in the order of construction so that their members are deleted first.
> Did you mean deleted in the reverse order of construction ?
So you have a cyclic list:
+-> 1 -> 2 -> 3 -+
1 will be called for destruction first but the pointer to 2 and then 3
will deleted beforehand because they are their members. The pointer of
3 to 1 will be ineffective.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk