Bug 12333 – std.conv.to: Safe conversion of character types

Status
NEW
Severity
enhancement
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-03-09T11:29:34Z
Last change time
2024-12-01T16:20:31Z
Assigned to
No Owner
Creator
Vladimir Panteleev
Moved to GitHub: phobos#10038 →

Comments

Comment #0 by dlang-bugzilla — 2014-03-09T11:29:34Z
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).
Comment #1 by robert.schadek — 2024-12-01T16:20:31Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10038 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB