Why do "const inout" and "const inout shared" exist?

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sun Jul 2 06:49:25 PDT 2017


On 07/02/2017 09:48 AM, Andrei Alexandrescu wrote:
>      *p = 42; // should be a shared write, it's not

I meant:

     p = new int; // should be a shared write, it's not


Andrei


More information about the Digitalmars-d mailing list