invariant constancy: revisited
Andrej Mitrovic
andrej.mitrovich at gmail.com
Sat Mar 15 08:17:57 PDT 2014
On 3/15/14, Daniel Murphy <yebbliesnospam at gmail.com> wrote:
> Yuck. We can always warn for a while on invariants not explicitly marked as
>
> const, if we're worried about breakage.
>
> You should be able to use most of the language without using const, making
> invariants implicitly const was a bad idea.
Well someone has to convince Dear Leader(s) of this. The first pull[1]
was made 2 years ago (!).
[1] : https://github.com/D-Programming-Language/dmd/pull/1073
More information about the Digitalmars-d
mailing list