Discussion Thread: DIP 1043--Shortened Method Syntax--Final Review

Salih Dincer salihdb at hotmail.com
Fri Jun 17 17:08:59 UTC 2022


On Thursday, 16 June 2022 at 18:56:57 UTC, Paul Backus wrote:
> ```d
> enum defaultClassConstructor = q{
>  this(typeof(this.tupleof) params) {
>    static foreach (i; 0..this.tupleof.length)
>      this.tupleof[i] = params[i];
> };
> ```

Thanks, it looks very short...

SDB at 79


More information about the Digitalmars-d mailing list