On Thu, Jun 10, 2010 at 9:02 PM, yabcok <yabcok@gmail.com> wrote:
I simplified the code even more. Get it here: http://yabcok.nazwa.pl/ugly3.zip
In release build (VC2008 SP1) there's an infinite BOOST_FOREACH loop,
debug builds and other compilers (gcc, vc10) are OK.

My skills are insufficient to root cause this problem.
Could anyone help me out?


Your iterator increment function in vector_elements_list.h is broken.

In the case you attached the iterator starts with a handle of zero. The first increment will cause handle to be incremented to one. Subsequent increment operations have no effect.
 
Regards,
Jacek


Regards,
Neil Groves