Using TreeSet and __gshared values

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Sep 4 01:38:50 PDT 2014


On Wednesday, 3 September 2014 at 20:10:51 UTC, ketmar via 
Digitalmars-d-learn wrote:
> On Wed, 03 Sep 2014 19:53:15 +0000
> nrgyzer via Digitalmars-d-learn 
> <digitalmars-d-learn at puremagic.com>
> wrote:
>
> __gshared class members are effectively "static", i.e. they are 
> "class
> members", not "instance members".

Hmm... would be nice if there were a warning/error when __gshared 
is used without static in a class.


More information about the Digitalmars-d-learn mailing list