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

@@ -10,7 +10,7 @@
#include <boost/range.hpp>
#include <boost/coroutine/all.hpp>
#ifdef BOOST_COROUTINES_V2
#ifdef BOOST_COROUTINES_UNIDIRECT
void fibonacci( boost::coroutines::push_coroutine< int > & c)
{
int first = 1, second = 1;