Any example of using these Special Tokens?

bearophile bearophileHUGS at lycos.com
Wed May 25 02:45:37 PDT 2011


Matthew Ong:

> I am not able make use of these 3 special tokens to print something.
> 
> writefln("gshared: %s",__gshared);
> writefln("thread: %s",__thread);
> writefln("traits: %s",__traits);

They are keywords, so it's like writing:
writefln("traits: %s", for);


> Would some like to show me how this is done??

What do you want to do?

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list