__gshared static
via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Apr 24 12:09:05 PDT 2015
On Friday, 24 April 2015 at 18:05:22 UTC, Steven Schveighoffer
wrote:
> On 4/24/15 1:22 PM, "=?UTF-8?B?Ik3DoXJjaW8=?= Martins\"
> <marcioapm at gmail.com>\"" wrote:
>> Hi!
>>
>> I just stumbled across what seems like a misunderstanding on
>> my side
>> about these keywords. Can someone help clarify these for me?
>>
>> ```
>> __gshared static int foo;
>> __gshared int foo;
>> ```
>>
>> What are the storage and semantic differences between those
>> two, if any?
>
> These are the same, __gshared overrides static.
>
> -Steve
Thanks Steve!
More information about the Digitalmars-d-learn
mailing list