how to initialize an array of typedef-ed type?

Stewart Gordon smjg_1998 at yahoo.com
Fri May 1 13:26:38 PDT 2009


MLT wrote:
<snip>
> The the initialization works, but casting from int[] to long[] in general doesn't.

Yes, this is a known inconsistency.
http://d.puremagic.com/issues/show_bug.cgi?id=2542

Why Walter thinks this is sensible, I'm not sure.

Stewart.


More information about the Digitalmars-d-learn mailing list