DIP 1018--The Copy Constructor--Community Review Round 1

Johannes Loher johannes.loher at fg4f.de
Sat Dec 22 08:05:01 UTC 2018


On Friday, 21 December 2018 at 12:01:49 UTC, Kagamin wrote:
> On Thursday, 20 December 2018 at 16:53:29 UTC, Neia Neutuladh 
> wrote:
>> this.tupleof = other.tupleof;
>> this.field30 = null;
>
> This will initialize field30 twice, won't it?

Indeed. What happens if field30 is const?


More information about the Digitalmars-d mailing list