
16 Jan
2014
16 Jan
'14
2:36 p.m.
2014/1/15 Pierre Talbot
void push_data(boost::coroutines::coroutinestd::string::push_type& sink) { sink("test1"); t = std::thread(push_data2, std::move(sink)); }
'sink' is synthesized by the framework and is attached to coroutine-stack. because you move the synth. coroutine, the code inside the framework can't access it any more (therefore the assertion from intrusive_ptr<>).