digitalmars.D.bugs - [Issue 21233] New: std.conv.parse doesn't report the number of
- d-bugmail puremagic.com (20/20) Sep 09 2020 https://issues.dlang.org/show_bug.cgi?id=21233
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 puremagic.com Reporter: adela.vais99 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. --
Sep 09 2020