stdio.lines doesn't have popFront, but works with foreach
bearophile via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Dec 11 12:17:49 PST 2014
Andrew Klaassen:
> The docs for stdio.lines say that it's a struct. stdio.lines
> works with foreach.
If you want a range use "myfile".File.byLine or
"myfile".File.byLineCopy.
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list