Boost logo

Boost :

Subject: Re: [boost] [Block Pointer] Review Request
From: Phil Bouchard (philippe_at_[hidden])
Date: 2011-05-03 15:28:59


On 5/3/2011 7:47 AM, Phil Bouchard wrote:
> On 5/3/2011 2:43 AM, Mathias Gaunard wrote:
>>
>> or if(p) rather sorry.
>
> I imagine this is more convenient, yes. I'll make the change in a bit.

The problem is this only happens in the destructor and operator bool is
usually called many times outside of the destructor. If I check for
cyclicism inside operator bool then this would create unnecessary
overhead for the calls outside of the destructor.

-Phil


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