Subject: Re: [boost] [proto] _value doesn't enforce zero arity
From: Gevorg Voskanyan (v_gevorg_at_[hidden])
Date: 2009-04-08 03:11:38
troy d. straszheim wrote:
> Gevorg Voskanyan wrote:
> > How about a macro BOOST_PROTO_EXTRA_CHECKING or something like that to have
> those kind of checks conditionally?
> I could see a BOOST_MPL_DISABLE_ASSERTS token, behavior analogous to
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.