
4 Mar
2012
4 Mar
'12
2:03 p.m.
Hi again, you referring to the example 'enumerate'?! it was intendet to demonstrate
the usage of boost.context. maybe I'll provide an separate lib with the 'enumerate' stuff if appropriate.
I think I have found a bug in the sample. In the destructor, I get a "calling virtual function exception" for Enumerator that are never started. The following code seems to work:
if (started_) if ( do_unwind_ && ! ctx_.is_complete() ) ctx_.unwind_stack();
Julien