How to initialize static array member variable?

Philippe Sigaud philippe.sigaud at gmail.com
Fri Oct 1 11:45:10 PDT 2010


On Fri, Oct 1, 2010 at 13:47, Simen kjaeraas <simen.kjaras at gmail.com> wrote:
> I also wanted to allow for swizzled setters, but apparently that's
> currently not possible

What would swizzled setters look like?

vec.yx = vec.xy ?

vec.xy = [1,0] ?

What about

vec.xxx = [0,1,2];

Would Vec.x be 2 after this?



Philippe


More information about the Digitalmars-d-learn mailing list