is there any trait to check if variable is __gshared?

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Mar 26 09:50:44 PDT 2014


On 3/26/14, ketmar <nobodyherethismailsucks at gmail.com> wrote:
> is there any trait to check if variable is __gshared? typeof()
> for '__gshared int' returns just 'int', whereas for 'shared int'
> it returns 'shared(int)'. can i check for __gshared storage class
> somehow?

Please file this as an enhancement request to bugzilla[1]. Thanks!

[1] : https://d.puremagic.com/issues/enter_bug.cgi?product=D


More information about the Digitalmars-d-learn mailing list