grauzone schrieb:
Second, the bug: casting arrays at compiletime seems to behave differently from casting at runtime. Casting at compiletime doesn't reinterpret cast, it does conversion! Demonstration here: http://codepad.org/OGjXADdu

Feel free to file some bug reports.

Just found out this is stated as a feature in the docs.
http://www.digitalmars.com/d/2.0/expression.html#ArrayLiteral

http://codepad.org/bvk63OPw

Reply via email to