shared - i need it to be useful
Stanislav Blinov
stanislav.blinov at gmail.com
Thu Oct 18 18:12:03 UTC 2018
On Thursday, 18 October 2018 at 18:05:51 UTC, aliak wrote:
> Right, but the argument is a shared int*, so from what I've
> understood... you can't do anything with it since it has no
> shared members. i.e. you can't read or write to it. No?
Obviously the implementation would cast `shared` away, just like
it would if it were Atomic!int. But for some reason, Manu thinks
that latter is OK doing that, but former is voodoo. Go figure.
More information about the Digitalmars-d
mailing list