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.

Reply via email to