DIP 1018--The Copy Constructor--Final Review

Atila Neves atila.neves at gmail.com
Sat Mar 2 12:55:13 UTC 2019


On Friday, 1 March 2019 at 13:59:41 UTC, Olivier FAURE wrote:
> On Thursday, 28 February 2019 at 10:44:36 UTC, Mike Parker 
> wrote:
>> [...]
>
> So, the big point of contention seems to be the possibility 
> that structs have copy constructors taking non-const arguments.
>
> [...]

The copy constructor doesn't *have* to take a ref to mutable. It 
can be ref const(T). It just doesn't force it.


More information about the Digitalmars-d mailing list