String Prefix Predicate

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Aug 14 10:41:07 PDT 2014


On Thursday, 14 August 2014 at 17:33:41 UTC, Justin Whear wrote:
> std.algorithm.startsWith?  Should auto-decode, so it'll do a

What about 
https://github.com/D-Programming-Language/phobos/pull/2043

Auto-decoding should be avoided when possible.

I guess something like

whole.byDchar().startsWith(part.byDchar())

is preferred right?

If so is this what we will live with until Phobos has been 
upgraded to using pull 2043 in a few years?


More information about the Digitalmars-d-learn mailing list