DIP 1024--Shared Atomics--Community Review Round 1
Walter Bright
newshound2 at digitalmars.com
Tue Oct 1 20:31:23 UTC 2019
On 10/1/2019 4:21 AM, rikki cattermole wrote:
> This DIP will need to detail how it does (and doesn't) interact with methods
> with the shared attribute on it, along with examples of the shared qualifier on
> a struct/class.
The DIP does not change how `shared` is part of the type system, and does not
change how `shared` affects the types of structs or classes or instances of them.
> As it stands, if I was to implement it, I could interpret the DIP to only affect
> globals.
`shared` isn't a storage class, it's a type constructor, so I don't see how you
could infer that.
More information about the Digitalmars-d
mailing list