mirror of
https://github.com/boostorg/coroutine.git
synced 2026-01-31 20:12:26 +00:00
coroutine: update of interface
[SVN r85105]
This commit is contained in:
@@ -192,6 +192,6 @@ void async_user_handler()
|
||||
for(auto i=0; i!=5; ++i)
|
||||
fs.push_back( asynchronous([i]{ return foo(i+1); }) );
|
||||
|
||||
BOOST_FOREACH(auto &&f, fs)
|
||||
for(auto &&f : fs)
|
||||
cout << await f << ":\tafter end" << endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user