[Issue 1733] New: parse() function doesn't handle char, wchar, dchar
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Dec 16 06:48:49 PST 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1733
Summary: parse() function doesn't handle char, wchar, dchar
Product: D
Version: 2.008
Platform: PC
OS/Version: All
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: bugzilla at digitalmars.com
ReportedBy: aarti at interia.pl
string str = "aaaaa";
writefln(parse!(char)(str));
--
Result:
conv.d(650): static assert "Dunno how to parse a char"
---
Should work for generic code.
--
More information about the Digitalmars-d-bugs
mailing list