How to initialize static array member variable?
bearophile
bearophileHUGS at lycos.com
Thu Sep 30 13:32:12 PDT 2010
Philippe Sigaud:
> It's doable, but it means modifying your struct a bit: instead of
> holding the values in an array, you can store them in a tuple.
> I'll see if anyone as another idea: I'm biased towards tuples.
Please, be gentle with the D newbie, don't burn his brain :-) You can't learn a big part of D2 in one day.
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list