[Issue 6377] std.conv.to should check range when changing signedness

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 25 05:32:14 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6377


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #5 from bearophile_hugs at eml.cc 2011-07-25 05:32:10 PDT ---
I approve this enhancement request. In this case if you don't want an error you
just don't use to!(). I think to!() is meant to be a safe cast (reminder: safe
!= memory safe).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list