22 Feb
2012
22 Feb
'12
4:09 p.m.
You can get around this by increasing the maximum size a variant can handle, define the following symbols (or higher if you need):
#define BOOST_MPL_LIMIT_LIST_SIZE 30 #define BOOST_MPL_LIMIT_VECTOR_SIZE 30 #define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
And it should work again.
Oh, I see... But anyway, if I went beyond the limit, shouldn't it produce some compile-time error, rather than failng in runtime in such a weird way in debug mode only? Thanks!