Alisdair Meredith wrote:

[Note: I am now using a proposed new defect-detection macro,
BOOST_NO_STATIC_CONST_AS_TEMPLATE_PARAM, currently only defined for
borland <=0x0570]
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.

This trick is used in the Visual Age toolset.

Markus


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


Reply via email to