Boost logo

Boost :

From: colin.rafferty_at_[hidden]
Date: 2004-10-25 16:45:04


"Andreas Huber" <ahd6974-spamgroupstrap_at_[hidden]> wrote:
> colin.rafferty_at_[hidden] wrote:

>> However, I can see three reasons why it should still be explicit:

>> 3. There is no time when someone would actually want the implicit
>> conversion

> Yes there is, I'm using intrusive_ptr and some of my code relies on the
> implicit conversion (this is useful when you need to pass an
> intrusive_ptr pointing to this to a function).

Okay. I had not thought of that use. Given this, and the fact that
it is hard to accidentally get in trouble, I unrequest the change.

-- 
Colin

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