Problems with boost::coroutines with lambda captures

16 Sep
2015
16 Sep
'15
6:44 p.m.
Sumamry: somehow the captured smart pointer gets destroyed+corrupted when I yield from the coroutine, but the local copy survives. When I use
GeneratorBlockEnumerator gets parameter (std::function) by value (temporary function gets created before constructor and destroyed right after). Then this temporary function passed by reference to push_type.
3563
Age (days ago)
3563
Last active (days ago)
1 comments
2 participants
participants (2)
-
Mikhail Strelnikov
-
Tamas.Ruszkai@leica-geosystems.com