mirror of
https://github.com/boostorg/coroutine.git
synced 2026-02-10 11:22:32 +00:00
coroutine: new push/pull interface
[SVN r84657]
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user