DIP 1018--The Copy Constructor--Final Review

Olivier FAURE couteaubleu at gmail.com
Sat Mar 2 10:17:01 UTC 2019


On Saturday, 2 March 2019 at 08:58:05 UTC, RazvanN wrote:
> On Friday, 1 March 2019 at 14:13:53 UTC, Paolo Invernizzi wrote:
>> On Friday, 1 March 2019 at 13:59:41 UTC, Olivier FAURE wrote:
>>> [...]
>>
>> A way to express mutable data in an immutable / const graph is 
>> needed since a long time.
>>
>> - P
>
> The __mutable DIP is on the way. I am currently working on that 
> [1]
>
> [1] 
> https://github.com/RazvanN7/DIPs/blob/Mutable_Dip/DIPs/DIP1xxx-rn.md

In the meantime, it's always possible to only allow const 
arguments for copy constructors at first, and consider non-const 
arguments once we've had a broader discussion on the semantics of 
const in D.


More information about the Digitalmars-d mailing list