mirror of
https://github.com/boostorg/coroutine.git
synced 2026-02-15 13:02:26 +00:00
coroutine: intro of coroutine<>::pull_type, coroutine<>::push_type
[SVN r85058]
This commit is contained in:
@@ -2908,6 +2908,14 @@ typename push_coroutine< Arg >::const_iterator
|
||||
end( push_coroutine< Arg > const& c)
|
||||
{ return boost::const_end( c); }
|
||||
|
||||
|
||||
template< typename T >
|
||||
struct coroutine
|
||||
{
|
||||
typedef push_coroutine< T > push_type;
|
||||
typedef pull_coroutine< T > pull_type;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
template< typename Arg >
|
||||
|
||||
Reference in New Issue
Block a user