// #include #include #include int main() { // using coro_t = boost::coroutines::coroutine; // fine using coro_t = boost::coroutines2::coroutine; // bug coro_t::push_type sink( [](coro_t::pull_type& source) { // Shouldn't reach here without a call to sink()! std::cout << "coroutine entered\n"; }); }