[Issue 21233] New: std.conv.parse doesn't report the number of characters consumed
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 9 12:31:35 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21233
Issue ID: 21233
Summary: std.conv.parse doesn't report the number of characters
consumed
Product: D
Version: D2
Hardware: x86
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: adela.vais99 at gmail.com
I was working with an input range and I would find it useful to be able to do
something like:
int ctr = 0;
val = input.parse!int(ctr);
and then use ctr for location tracking purposes.
--
More information about the Digitalmars-d-bugs
mailing list