valid uses of shared
Mehrdad
wfunction at hotmail.com
Sun Jun 10 01:51:56 PDT 2012
On Friday, 8 June 2012 at 04:03:08 UTC, Steven Schveighoffer
wrote:
> I agree that the type should be shared(int), but the type
> should not transfer to function calls or auto, it should be
> sticky to the particular variable.
I think that's a pretty fundamental problem:
Shared is a type constructor, but you just mentioned that it has
to be a property of the _variable_, i.e. a storage class.
Just thought I'd throw that out there.
More information about the Digitalmars-d
mailing list