mirror of
https://github.com/boostorg/coroutine2.git
synced 2025-05-11 05:24:01 +00:00
Update asymmetric.qbk
This commit is contained in:
parent
0734aa18c1
commit
9113c98364
@ -289,7 +289,7 @@ After unwinding, a __coro__ is complete.
|
|||||||
coro_t::push_type sink(
|
coro_t::push_type sink(
|
||||||
[&](coro_t::pull_type& source){
|
[&](coro_t::pull_type& source){
|
||||||
X x;
|
X x;
|
||||||
for(int i = 0; ;++i){
|
for(int i = 0; ; ++i){
|
||||||
std::cout << "fn(): " << i << std::endl;
|
std::cout << "fn(): " << i << std::endl;
|
||||||
// transfer execution control back to main()
|
// transfer execution control back to main()
|
||||||
source();
|
source();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user