Can we drop static struct initializers?
Steven Schveighoffer
schveiguy at yahoo.com
Tue Dec 29 13:35:04 PST 2009
On Tue, 29 Dec 2009 15:02:50 -0500, bearophile <bearophileHUGS at lycos.com>
wrote:
> Steven Schveighoffer:
>> can you do something like this without static initializers? My
>> recollection is that this is the only way to have a struct array
>> literal.
>
> http://codepad.org/8HnF62s2
OK, that makes sense. Last time I remember having issues with CTFE unless
the static initializer was used, but that was on D1.
-Steve
More information about the Digitalmars-d
mailing list