Why do "const inout" and "const inout shared" exist?
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Sun Jul 2 15:57:50 PDT 2017
On 07/02/2017 04:08 PM, Jack Stouffer wrote:
> On Sunday, 2 July 2017 at 18:49:29 UTC, Walter Bright wrote:
>> Thank you. This explanation makes sense (given that applying const to
>> immutable => immutable).
>
> Since seemly everyone is confused about it, this topic looks like a
> great subject for a blog post.
We have top people on that (i.e. Timon!).
Also, I just improved the spec:
https://github.com/dlang/dlang.org/pull/1787.
Andrei
More information about the Digitalmars-d
mailing list