
24 Sep
2009
24 Sep
'09
3:07 p.m.
BOOST_MULTI_INDEX_ENABLE_INVARIANT_CHECKING BOOST_MULTI_INDEX_INVARIANT_ASSERT http://www.boost.org/libs/multi_index/doc/tutorial/debug.html#invariant_chec...
FWIW, you have to be careful with those. I used to have them on, and this slowed down the app tremendously, because your hasher is called n^2 instead of n^1. OTOH, they taught me the importance of informing the BMI of any changes in the indexed fields by crashing the app ;) --DD
Well, they are not supposed to be used in release mode. The same applies to the "secure" STL that comes with MSVC, with one difference - _SECURE_SCL is defined *by default*.