std.conv.parse not accepting ByCodeUnitImpl

Jack Stouffer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed May 25 09:10:24 PDT 2016


On Wednesday, 25 May 2016 at 15:34:45 UTC, Steven Schveighoffer 
wrote:
> parse consumes data from the string as it goes.

I know that, I'm asking why. This disallows the natural range 
chaining and forces you to save to a variable before calling 
parse even though the function works just as well without it.

> If you want to leave the data there, use to instead.

Can't without calling std.array.array.


More information about the Digitalmars-d-learn mailing list