Boost logo

Boost :

Subject: Re: [boost] [coroutine] new versions
From: Giovanni Piero Deretta (gpderetta_at_[hidden])
Date: 2012-10-05 19:57:41

On Fri, Oct 5, 2012 at 11:20 PM, Vicente J. Botet Escriba <
vicente.botet_at_[hidden]> 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

Boost list run by bdawes at, gregod at, cpdaniel at, john at