[Issue 2270] cast produces invalid arrays at runtime

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 11 16:09:12 PDT 2011


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


bearophile_hugs at eml.cc changed:

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


--- Comment #13 from bearophile_hugs at eml.cc 2011-07-11 16:03:56 PDT ---
(In reply to comment #12)

> Indeed, it's a shame D has only one cast operator, which applies to both safe
> and unsafe conversions.  Contrast C++, which has five (does dynamic_cast count
> as safe?)

Some casts are easy enough to implement in Phobos library code, as example see
bug 5559

-- 
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