DIP 1018--The Copy Constructor--Formal Review

rikki cattermole rikki at cattermole.co.nz
Mon Feb 25 02:01:23 UTC 2019


On 25/02/2019 10:22 AM, Walter Bright wrote:
>> I think we need to throw in the towel, C++'s const is right, and D's
>> const is just wrong, and no amount of pretending that's not true will
>> resolve the endless stream of issues.
>> Where's the DIP to migrate to C++-style const? That is the predicate
>> for basically every important development I've seen lately...
>> including this one.
> 
> If you want a DIP, write one! But I suggest the rvalue ref one first.

We have discussed this on IRC that const needs a redesign.
The problem is, without building a list of examples of where it fails we 
cannot really start the redesign process.

But once we do, I'm in.


More information about the Digitalmars-d-announce mailing list