Boost logo

Boost Users :

Subject: Re: [Boost-users] [MultiIndex] documentation for macros
From: Igor R (boost.lists_at_[hidden])
Date: 2009-09-24 11:07:40


>> BOOST_MULTI_INDEX_ENABLE_INVARIANT_CHECKING
>> BOOST_MULTI_INDEX_INVARIANT_ASSERT
>>  http://www.boost.org/libs/multi_index/doc/tutorial/debug.html#invariant_check
>
> 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*.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net