is there any hack to determine if variable is __gshared?

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Oct 13 09:12:39 PDT 2014


On Mon, 13 Oct 2014 15:57:13 +0000
bearophile via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com>
wrote:

> > is there any hack/trick to determine if variable is __gshared? 
> > or if it is a thread-local, for that matter?
> 
> There is the -vtls compiler switch.

let me quote myself: "i'm talking about CTFE". i need to build mixin
string with this variables, to be precise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20141013/0a4ff10b/attachment.sig>


More information about the Digitalmars-d-learn mailing list