Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-09-09 00:03:25


Robert Ramey wrote:

> I went through this before which resulted in adding "explicit".
>
> Is there any reason we can't just change the instances where the problem
> occurs from

[snip]
 
> int i = 0;
> static_cast<C>(i);

[snip]

>
> to:
> int i = 0;
> C(i);

Yes, I think it's possible. OTOH, I'm not really sure if this worth it. The
bug has being fixed in gcc CVS for gcc 3.3.2, which is scheduled for
October 1. In the meanwhile, it should be possible to test with 3.2 (which
I'm going to try soon).

- Volodya


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