Feature request - simpler constructors

Jarrett Billingsley kb3ctd2 at yahoo.com
Sat Sep 22 07:45:05 PDT 2007


"Christian Kamm" <kamm.incasoftware at shift-at-left-and-remove-this.de> wrote 
in message news:fd2pb0$1g3m$1 at digitalmars.com...

> Yes, but unfortunately template mixin constructors will not overload with
> other constructors. With normal functions you can use alias to work around
> it, but for constructors
>
> mixin AutoCtor myautoctor;
> alias myautoctor.this this;
>
> fails. I think you will have to use string mixins to make this work 
> right...

RRRRRRRRRRRRRRRRRRGGGGGGGHHHHHHHH. 





More information about the Digitalmars-d mailing list