Thread overview | |||||
---|---|---|---|---|---|
|
September 07, 2009 [Issue 3303] New: std.conv: range-to-integer conversion is broken. | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=3303 Summary: std.conv: range-to-integer conversion is broken. Product: D Version: 2.032 Platform: Other OS/Version: All Status: NEW Keywords: patch Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: k.hanazuki@gmail.com --- Comment #0 from Kasumi HANAZUKI <k.hanazuki@gmail.com> 2009-09-07 04:17:56 PDT --- Created an attachment (id=446) patch std.conv.parse!int only works with char ranges but not wchar nor dchar, and should advance the given range. ---------- import std.conv, std.range; void main() { auto r = take(6, "123 45"d); assert(parse!int(r) == 123); assert(r.front == ' '); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 07, 2009 [Issue 3303] std.conv: range-to-integer conversion is broken. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kasumi HANAZUKI | http://d.puremagic.com/issues/show_bug.cgi?id=3303 Andrei Alexandrescu <andrei@metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |andrei@metalanguage.com AssignedTo|nobody@puremagic.com |andrei@metalanguage.com -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 15, 2010 [Issue 3303] std.conv: range-to-integer conversion is broken. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kasumi HANAZUKI | http://d.puremagic.com/issues/show_bug.cgi?id=3303 David Simcha <dsimcha@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC| |dsimcha@yahoo.com Resolution| |FIXED --- Comment #1 from David Simcha <dsimcha@yahoo.com> 2010-08-15 08:34:25 PDT --- This bug seems to have been fixed some time ago, as I can no longer reproduce it on 2.048. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation