Where are the semantics of shared defined?

Tofu Ninja via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 13 15:09:33 PDT 2015


On Thursday, 13 August 2015 at 21:29:42 UTC, rsw0x wrote:
> The only mention of them in the spec is:
>
> shared Attribute
> The shared attribute modifies the type from T to shared(T), the 
> same way as const does.
>
> Am I missing something obvious?

There is this http://dlang.org/migrate-to-shared.html

But you are right, the spec is seriously lacking in details.


More information about the Digitalmars-d mailing list