
8 Apr
2009
8 Apr
'09
7:11 a.m.
troy d. straszheim wrote:
How about a macro BOOST_PROTO_EXTRA_CHECKING or something like that to have
Gevorg Voskanyan wrote: those kind of checks conditionally?
I could see a BOOST_MPL_DISABLE_ASSERTS token, behavior analogous to BOOST_DISABLE_ASSERTS.
-t
That seems like a valid addition for boost.mpl to me, but in this case I was more thinking of something having effect on boost.proto only, in the spirit of e.g. BOOST_MULTI_INDEX_ENABLE_SAFE_MODE, whereas using BOOST_MPL_DISABLE_ASSERTS would probably have a broader impact. Also I think Eric would want not to have expensive checks enabled by default, so BOOST_MPL_DISABLE_ASSERTS will not be very useful for this case even if/when it is added, IMHO. Best Regards, Gevorg