Introspection: TLS and __gshared variables

Benjamin Thaut code at benjamin-thaut.de
Mon Dec 3 12:49:46 PST 2012


I'm currently playing around with D's compile time introspection and I'm 
trying to do the following:

1. Detect if a member is static
2. Detect if a member is __gshared
3. Get the TLS offset of a static variable (at compile time...)

I would be glad if anyone could help me with one ore multiple of these 
issues.

Kind Regards
Benjamin Thaut


More information about the Digitalmars-d-learn mailing list