
22 Oct
2012
22 Oct
'12
6:41 a.m.
2012/10/20 Gennadiy Rozenal <rogeeff@gmail.com>:
BOOST_CHECKA( var1 - var2 >= 12 );
And the output will include as much information as we can get:
error: in "foo": check var1 - var2 >= 12 failed [23-15<12]
Great feature, but if it uses same error reporting mechanism as before it is totally useless (see ticket #7046). 512 bytes is not enough for such reports, please base error report buffer on std::string or some other class, that can auto extend it`s size. -- Best regards, Antony Polukhin