Boost logo

Boost :

Subject: Re: [boost] [Block Pointer] Review Request
From: Phil Bouchard (philippe_at_[hidden])
Date: 2011-05-01 22:48:26


On 5/1/2011 7:02 PM, Emil Dotchevski wrote:
>
> I'm not concerned with how cycles are being broken.
>
> My question is, is there anything that protects all objects within a
> cycle from being able to dereference a pointer to an object from the
> cycle after that object has already been destroyed?

A block_ptr pointing to a cyclic object that has been destroyed will be
nullified. It won't be dereferenced.

-Phil


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk