[Issue 2494] describe explicit casting of arrays
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Dec 6 11:26:03 PST 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2494
------- Comment #1 from jarrett.billingsley at gmail.com 2008-12-06 13:26 -------
Huh, I would've expected it to be documented somewhere. But yes, it's legal,
and will throw a runtime error if there is a size mismatch (that is, if the
size of the array in bytes is not an even multiple of the destination type
element size).
--
More information about the Digitalmars-d-bugs
mailing list