
5 Oct
2012
5 Oct
'12
11:57 p.m.
On Fri, Oct 5, 2012 at 11:20 PM, Vicente J. Botet Escriba < vicente.botet@wanadoo.fr> wrote:
Le 05/10/12 21:46, Oliver Kowalke a écrit :
Am 05.10.2012 21:27, schrieb Vicente J. Botet Escriba:
The single difference between both interfaces is that with fist the return is obtained using yield, while in the second is using the operator().
the main difference between version 1 and 2 is that self_t is not a coroutine<> it is a different type.
I don't think the caller should be taken as a coroutine, as it could not be one.
what do you mean? of course it is a coroutine. Yes, it might be the default context for this thread, but it is still a coroutine; there isn't much to gain to treat it specially. -- gpd