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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Vladimir Panteleev <[email protected]> 2014-03-09
20:29:34 EET ---
>From http://forum.dlang.org/post/[email protected]:
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: -------