I wanted this for a long time now. There were many situations when I needed just that, but I didn't want to invent dummy structures for that, because I didn't want any run-time change.
On Wed, Apr 18, 2012 at 3:04 AM, F i L <[email protected]> wrote: > Another possible syntax is, given the talked about: > > alias name = type; > > syntax, we could just use that in combination with "anonymous templates": > > alias X11 = template { > > @property auto display() { return _display; } > } > > Though, now that I look at it I'm kinda just like parameterless templates: > > template X11 { ... } > -- Bye, Gor Gyolchanyan.
