coroutine: remove deprecated interface

[SVN r86521]
This commit is contained in:
Oliver Kowalke
2013-10-30 08:23:09 +00:00
parent 03acada249
commit e5120a4b71
38 changed files with 3068 additions and 9220 deletions

View File

@@ -35,7 +35,6 @@ void bar( int i)
}
}
#ifdef BOOST_COROUTINES_UNIDIRECT
void foo( boost::coroutines::coroutine< void >::pull_type & source)
{
bar( count);
@@ -49,23 +48,6 @@ void thread_fn()
sink();
}
}
#else
typedef boost::coroutines::coroutine< void() > coro_t;
void foo( coro_t & c)
{
bar( count);
c();
}
void thread_fn()
{
{
coro_t c( foo);
c();
}
}
#endif
int main( int argc, char * argv[])
{