Use of this macro enables precondition checks for iterators and functions of the library. It’s use is recommended in debug builds. See https://www.boost.org/doc/libs/1_78_0/libs/multi_index/doc/tutorial/debug.html for more info.
There is also a BOOST_MULTI_INDEX_ENABLE_INVARIANT_CHECKING
macro:
When this mode is in effect, all public functions of Boost.MultiIndex will perform post-execution tests aimed at ensuring that the basic internal invariants of the data structures managed are preserved.