Alisdair Meredith wrote:
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.[Note: I am now using a proposed new defect-detection macro, BOOST_NO_STATIC_CONST_AS_TEMPLATE_PARAM, currently only defined for borland <=0x0570]
This trick is used in the Visual Age toolset.
Markus
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost