Boost logo

Boost :

Subject: Re: [boost] [Block Pointer] Review Request
From: Phil Bouchard (philippe_at_[hidden])
Date: 2011-05-02 20:49:10


On 5/2/2011 2:35 PM, Mathias Gaunard wrote:
>
> Right, but the user could still try do do
> some_block_ptr->some_member_function()
>
> if some_block_ptr is null, this will lead to an error.
>
> You should talk about this in the documentation.

Like we were pointing out with the conversation with Emil, this will
only occur in the destructor. I am adding as we speak a function that
can be called explicitly to prevent this from happening.

-Phil


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