
12 Dec
2007
12 Dec
'07
9:08 p.m.
Avi Revivo <revivoavi <at> hotmail.com> writes:
Hi All,
Is this a known issue that if due to a wrong usage the .end iterator is advanced there is an infinte loop?
Hello Avi, As Felipe remarks, advancing end() is illegal, and anything can happen if you perform an illegal operation. You can detect this and other wrong usages of Boost.MultiIndex in a more convenient fashion by using the provided safe mode: http://boost.org/libs/multi_index/doc/tutorial/debug.html#safe_mode HTH, Joaquín M López Muñoz Telefónica, Investigación y Desarrollo