mirror of
https://github.com/boostorg/coroutine.git
synced 2026-01-31 08:02:18 +00:00
coroutine: intro of coroutine<>::pull_type, coroutine<>::push_type
[SVN r85058]
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
#include <boost/coroutine/all.hpp>
|
||||
|
||||
#ifdef BOOST_COROUTINES_UNIDIRECT
|
||||
typedef boost::coroutines::pull_coroutine< void > pull_coro_t;
|
||||
typedef boost::coroutines::push_coroutine< void > push_coro_t;
|
||||
typedef boost::coroutines::coroutine< void >::pull_type pull_coro_t;
|
||||
typedef boost::coroutines::coroutine< void >::push_type push_coro_t;
|
||||
|
||||
void echo( pull_coro_t & c, int i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user