Feature request - simpler constructors

Jarrett Billingsley kb3ctd2 at yahoo.com
Thu Sep 20 05:22:24 PDT 2007


"Janice Caron" <caron800 at googlemail.com> wrote in message 
news:mailman.277.1190282755.16939.digitalmars-d at puremagic.com...
> Please could we let
>
> this(auto n) {}
> T n;
>
> be syntactic sugar for
>
> this(T n)
> {
>     this.n = n;
> }
> T n;

I liek! 





More information about the Digitalmars-d mailing list