Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2002-01-31 07:35:25


>However, this really only covers about 95% of the cases, since any UDT
with
>an implicit conversion from int will still generate the warnings. It would
>be really nice to find a more general fix. Can anyone think of one?

I don't think so, if the conversion is allowed, but dangerous, then a
warning is going to be generated, unless you can suppress it with a #pragma
or something.

- John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/


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