Adam Ruppe <destructionator at gmail.com> wrote: > Another alternative is to give each element their own struct... > > struct Width { int width; alias width this; } > > foo(Width(10), Height(20)); Clearly this can be done better: struct _(string s) { int data; alias data this; } foo(_!"width"(10), _!"height"(20)); -- Simen