D constness: head & tail

Jonathan M Davis via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Mar 2 03:32:28 PST 2015


On Monday, March 02, 2015 10:15:00 ketmar via Digitalmars-d-learn wrote:
> or, tl;dr: `const` in D is working as it was designed to work. there are
> no changes planning for it, and it will not be turned to "c++-like" const.

We couldn't even if we wanted to. It would never work with immutable.

- Jonathan M Davis



More information about the Digitalmars-d-learn mailing list