[Issue 9045] Feature request for std.asscii => function isNewline
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Oct 22 20:45:10 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=9045
ARaspiK <araspik at protonmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |araspik at protonmail.com
--- Comment #14 from ARaspiK <araspik at protonmail.com> ---
Bump: When is this going to get implemented into Phobos? It makes my life much
easier, mainly because 'newline' is a 'string' but since I'm using 'dstring' I
require the usage of 'assumeWontThrow' everywhere. Example:
dstring str = "..."d;
str.findSkip(newline); // not nothrow
str.findSkip(newline).assumeWontThrow; // Ugh, long
str.findSkip!isNewline; // What would be nice _AND_ nothrow
--
More information about the Digitalmars-d-bugs
mailing list