|
Boost : |
From: John Maddock (jm_at_[hidden])
Date: 2002-11-16 06:42:43
> Hugh!
> Is this fixed by "boost/limits.hpp"?
No there's no way it can be. BTW I think that recent STLport releases may
have fixed this, I'm not sure though...
Oh, and just to make things worse... Borlands compiler has problems with all
of STLports numeric_limits<> members when used as template arguments
(compiler bug - it selects the value 0 regardless of what the actual value
is!!!), and I've seen similar problems with VC6 (numeric_limits<> constant
members can't be used with static asserts, and maybe in other situations
also....)
Sorry to be so negative, but this whole area is a minefield...
John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/index.htm
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk