
On June 22, 2015 4:41:05 AM EDT, Oliver Kowalke
2015-06-22 10:29 GMT+02:00 Rob Stewart
: 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),
With only one kind, the documentation already describes how it behaves. Having asymmetric_coroutine suggests other variations are expected in the future.
but coroutine.hpp contains:
template< typename T > using coroutine = asymmetric_coroutine< T >;
so you could use coroutine<> if desired.
If you think asymmetric_coroutine is necessary, and clearly I do not, you should reverse those. That is, asymmetric_coroutine should be the alias. ___ Rob (Sent from my portable computation engine)