coroutine: new push/pull interface

[SVN r84657]
This commit is contained in:
Oliver Kowalke
2013-06-06 17:26:45 +00:00
parent af2fb9c1bd
commit a7c36808de
36 changed files with 1757 additions and 1990 deletions

View File

@@ -12,7 +12,7 @@
#include <boost/range.hpp>
#include <boost/coroutine/all.hpp>
#ifdef BOOST_COROUTINES_V2
#ifdef BOOST_COROUTINES_UNIDIRECT
void power( boost::coroutines::push_coroutine< int > & c, int number, int exponent)
{
int counter = 0;