coroutine: update of interface

[SVN r85105]
This commit is contained in:
Oliver Kowalke
2013-07-22 15:03:42 +00:00
parent 865902f9b5
commit 01235d2ee7
14 changed files with 2037 additions and 802 deletions

View File

@@ -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;
}