Copy Constructor DIP and implementation

Nicholas Wilson iamthewilsonator at hotmail.com
Mon Oct 8 11:55:05 UTC 2018


On Monday, 8 October 2018 at 10:27:47 UTC, RazvanN wrote:
>> Both the DIP and the implementation still lack a -dip10xx 
>> switch.
>
> After discussing with Walter and Andrei we came to the 
> conclusion that a flag is not necessary in this case.

Please elaborate on the reasoning.

> Immediately after the DIP is accepted, the postblit will be 
> deprecated.

Its not about the deprecation process, its about the transitional 
process, i.e what to do when there is both a postblit and a copy 
constructor are defined. Whatever the default is, if there is no 
way to control it, it is impossible to transition smoothly.



More information about the Digitalmars-d-announce mailing list