Static foreach bug?

Dechcaudron no-reply at no-email.com
Fri Sep 7 08:10:16 UTC 2018


On Thursday, 6 September 2018 at 15:56:50 UTC, Jonathan M Davis 
wrote:
> However, since attributes are applied to functions, and 
> __gshared is for variables, it really wouldn't make sense to 
> have @gshared, and by that same token, it wouldn't make sense 
> to have @ctlocal.

I don't see any reason why @gshared/@ctlocal (with or without 
'@')could not be restricted to variables, just like @nogc is 
restricted to functions.

Regards,
Dechcaudron




More information about the Digitalmars-d mailing list