Copy Constructor DIP and implementation

RazvanN razvan.nitu1305 at gmail.com
Mon Oct 8 10:27:47 UTC 2018


On Monday, 8 October 2018 at 10:26:17 UTC, Nicholas Wilson wrote:
> On Monday, 8 October 2018 at 10:14:51 UTC, RazvanN wrote:
>> On Tuesday, 2 October 2018 at 09:26:34 UTC, RazvanN wrote:
>>> Hi all,
>>>
>>> I just pushed another version of the DIP in which the major 
>>> modifications among otthers are removing implicit and use 
>>> copy constructor calls in all situations where a copy is 
>>> made. For more details, please visit [1] and if you have the 
>>> time, please offer some feedback,
>>>
>>> Thank you,
>>> RazvanN
>>>
>>> [1] https://github.com/dlang/DIPs/pull/129/
>>
>> I've made all the changes in the code that the DIP includes[1] 
>> and the tests seem to be all green. I still need to add more 
>> tests; if you have any tests that you want to make sure the 
>> implementation takes into account please post them.
>>
>> Cheers,
>> RazvanN
>>
>> [1] https://github.com/dlang/dmd/pull/8688
>
> 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. Immediately after the 
DIP is accepted, the postblit will be deprecated.


More information about the Digitalmars-d-announce mailing list