DIP 1018--The Copy Constructor--Formal Review

Olivier FAURE couteaubleu at gmail.com
Mon Feb 25 22:45:38 UTC 2019


On Monday, 25 February 2019 at 20:41:58 UTC, Paolo Invernizzi 
wrote:
> Honestly, I've not understood the rationale or the covered use 
> case in letting the copy ctor mutate the ref source 
> parameters...
> Sincerely, without polemical intent.
>
> - P

For the same reason C++'s std::shared_pointer uses a non-const 
copy constructor.


More information about the Digitalmars-d-announce mailing list