C++ Ranges proposal for the Standard Library

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 20 12:23:48 PDT 2014


On 10/20/2014 07:21 PM, Daniel Murphy wrote:
> "Timon Gehr"  wrote in message news:m23eqa$2qfq$1 at digitalmars.com...
>> On 10/18/2014 07:30 PM, Walter Bright wrote:
>> >
>> > Also, the glue layer rewrites "for" loops into "goto" loops, as gotos
>> > are more powerful and foundational :-)
>>
>> Well, not really. It rewrites "for" loops into "goto" loops because
>> that's the only control flow construct implemented by the hardware.
>
> You might be thinking of the code generator, not the glue layer.

Why? Does the code generator support for loops?


More information about the Digitalmars-d mailing list