diff --git a/doc/asymmetric.qbk b/doc/asymmetric.qbk index 990ccb8..6473cf8 100644 --- a/doc/asymmetric.qbk +++ b/doc/asymmetric.qbk @@ -275,22 +275,22 @@ After unwinding, a __coro__ is complete. struct X { X(){ - std::cout<<"X()"<::push_type coro_t; + typedef boost::coroutines2::coroutine coro_t; coro_t::push_type sink( [&](coro_t::pull_type& source){ X x; - for(int=0;;++i){ - std::cout<<"fn(): "<