September 09, 2020 [Issue 21233] New: std.conv.parse doesn't report the number of characters consumed | ||||
|---|---|---|---|---|
| ||||
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. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply