[Issue 12333] New: std.conv.to: Safe conversion of character types
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Mar 9 11:29:35 PDT 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12333
Summary: std.conv.to: Safe conversion of character types
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: thecybershadow at gmail.com
--- Comment #0 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-03-09 20:29:34 EET ---
>From http://forum.dlang.org/post/knrwiqxhlvqwxqshyqpy@forum.dlang.org:
std.conv.to should allow converting between character
types, iff they represent one whole code point and fit into the
destination type, and throw an exception otherwise (similar to
how it deals with integer overflow).
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list