The magic behind foreach (was: Re: Descent 0.5.3 released)

Jarrett Billingsley jarrett.billingsley at gmail.com
Thu Jan 22 18:59:34 PST 2009


On Thu, Jan 22, 2009 at 9:38 PM, Bill Baxter <wbaxter at gmail.com> wrote:
>
> Yep, that was the gist of it.  Put the return value on the stack of
> the calling frame.
> Nothing all that fancy really, just you want to be able to hide that
> __result = blah ugliness from the user.

Oh, I'm suggesting that the compiler do this instead of us having to
do it with macros.



More information about the Digitalmars-d mailing list