On Sunday, 24 February 2019 at 10:46:37 UTC, Mike Parker wrote:
Walter and Andrei have requested the Final Review round be dropped for DIP 1018, "The Copy Constructor", and have given it their formal approval. They consider copy constructors a critical feature for the language.

Walter provided feedback on Razvan's implementation. When it reached a state with which he was satisfied, he gave the green light for acceptance.

The DIP:
https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1018.md


The implementation:
https://github.com/dlang/dmd/pull/8688

Are there any other concerns regarding the copy constructor DIP? Although the debate about the value of const's transitivity is an interesting one, it is orthogonal to this proposal.

Regarding the mutability of the copy constructor source: it is not mandatory that the source is mutable; you can define it as const, it's just that it is not going to work with mutable objects that contain indirections. There is no workaround for this, and per the current language rules this is not a problem.

As for the *by ref* rvalue DIP, I suggest that the discussion should be moved in an other forum thread, as the discussion is hijacked from getting feedback for DIP 1018

Cheers,
RazvanN
          • Re: DIP 10... Paolo Invernizzi via Digitalmars-d-announce
            • Re: D... Andrei Alexandrescu via Digitalmars-d-announce
            • Re: D... Paul Backus via Digitalmars-d-announce
            • Re: D... Olivier FAURE via Digitalmars-d-announce
              • R... Olivier FAURE via Digitalmars-d-announce
              • R... Walter Bright via Digitalmars-d-announce
            • Re: D... Andrei Alexandrescu via Digitalmars-d-announce
              • R... Olivier FAURE via Digitalmars-d-announce
          • Re: DIP 10... Nicholas Wilson via Digitalmars-d-announce
          • Re: DIP 10... Jacob Carlborg via Digitalmars-d-announce
  • Re: DIP 1018--The Copy Cons... RazvanN via Digitalmars-d-announce

Reply via email to