Boost logo

Boost :

From: John Maddock (jm_at_[hidden])
Date: 2003-02-20 06:47:07


> Did you try to define BOOST_NO_INCLASS_MEMBER_INITIALIZATION for
> borland? This will toggle BOOST_STATIC_CONSTANT to use the enum
> workaround and might fix most of the problems you are having with BCC
> not allowing static constant members as integral constant expressions
> in template parameters.

No that makes things worse - Borland gets things completely (and often
silently) wrong when you do that (it tends to give every static const a
value of 0, regardless of what it's actual value is!)

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