Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2001-05-30 05:18:18


>I notice you used old-style casts rather than static_cast<>. Was
that because GCC doesn't handle static_cast<> correctly? (I tried
it, and it worked for the other compilers but failed for GCC with an
error message indicating lack of some static_cast<> support.)

Anyhow, should you add a comment indicating why you are using old
style casts?
<

Yes, static_casts in integral constant expressions don't alway work (it not
just gcc IMO that has a problem here) - anyway I'll add a comment to that
effect...

- 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