Unexpected foreach lowering
Lodovico Giaretta via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Aug 10 12:43:47 PDT 2016
On Wednesday, 10 August 2016 at 19:37:39 UTC, Ali Çehreli wrote:
> A quick read reveals popFront() is implemented only for bool
> Arrays. That explains the issue.
>
> I don't know whether it's an oversight.
>
> Ali
First of all, thank you for spending your time on this issue. I
really appreciate that.
I may be reading that code wrong but...
Isn't popFront implemented for every type here?
https://github.com/dlang/phobos/blob/master/std/container/array.d#L128
More information about the Digitalmars-d-learn
mailing list