> 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 _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost