Boost logo

Boost :

Subject: Re: [boost] [coroutine2] Difference between coroutine and coroutine2
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2015-06-22 04:41:05


2015-06-22 10:29 GMT+02:00 Rob Stewart <rob.stewart_at_[hidden]>:

> If there's only one kind of coroutine in coroutine2, why isn't it just
> named "coroutine"?
>

asymmetric_coroutine<> describes the coroutine type (assymetric transfer of
execution control), but coroutine.hpp contains:

template< typename T >
using coroutine = asymmetric_coroutine< T >;

so you could use coroutine<> if desired.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk