[dmd-beta] For those who want to try out new features

Brad Roberts braddr at puremagic.com
Mon Jan 18 19:51:12 PST 2010


On 1/18/2010 5:45 PM, Sönke Ludwig wrote:
> Just one thing - is it an easy addition to support accessing arrays as
> struct members during CTFE (something like this.a[] = param[]; or
> this.a[0] = x;)?
> If that could get in it would make me really happy. It's the only thing
> left now to get rid of struct initializers for static array based
> structs and compile time constants, like static immutable Vec3 zerovec =
> Vec3(0, 0, 0);

This sort of question belongs on the main D news group, not on the beta list, imho.

Later,
Brad



More information about the dmd-beta mailing list