Boost logo

Boost :

Subject: Re: [boost] [WG21 mailing] N4453 Resumable expressions
From: Robert Ramey (ramey_at_[hidden])
Date: 2015-10-14 23:42:49


On 10/13/15 12:32 PM, Vinícius dos Santos Oliveira wrote:
> 2015-04-15 10:27 GMT-03:00 Niall Douglas <s_sourceforge_at_[hidden]>:
>
>> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4453.pdf
>
>
> revision 1 (p0114r0) is available:
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0114r0.pdf
>
>
I looked at this briefly and found it intriguing. But I have a couple
of questions.

Suppose I use something like Boost.Coroutine and declare the function
which calls it as constexpr.

Now this means that the constexpr stack is implemented at compile time
and not at all at runtime. So how is not a "stackless" co-routine? How
is it different than this proposal. Given this, why is this proposal
even necessary?

Robert Ramey


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