coroutine: intro of coroutine<>::pull_type, coroutine<>::push_type

[SVN r85058]
This commit is contained in:
Oliver Kowalke
2013-07-17 14:09:07 +00:00
parent c39d9509a4
commit 865902f9b5
22 changed files with 397 additions and 487 deletions

View File

@@ -71,8 +71,8 @@ void reschedule()
// ___________________________________________________________ //
#ifdef BOOST_COROUTINES_UNIDIRECT
typedef coroutines::pull_coroutine<void> coro_pull;
typedef coroutines::push_coroutine<void> coro_push;
typedef coroutines::coroutine<void>::pull_type coro_pull;
typedef coroutines::coroutine<void>::push_type coro_push;
#else
typedef coroutines::coroutine<void()> coro_pull;
typedef coroutines::coroutine<void()>::caller_type coro_push;