Boost logo

Boost :

From: Henrik Ravn (web_at_[hidden])
Date: 2002-08-21 01:49:18


> You should, however, be able to do
> T x( (T()) );
>
> The extra set of parens should disambiguate.
On VC++7 it works without the extra (), i.e:

        int x(int()); // x == 0

Is this an error in vc++7?

be well
-h-


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