Fully qualified name of an identifier as a compile-time string
a at a.a
Thu Oct 28 14:56:01 PDT 2010
"Adam Cigánek" <adam.ciganek at gmail.com> wrote in message
news:mailman.12.1288206056.21107.digitalmars-d-learn at puremagic.com...
> Is there a way to get a fully qualified name of an identifier as a
> string during compile time? __traits(identifier) returns only
> unqualified name.
You could try 'identifier.stringof'. But I don't know if that'll give you
what you want, and .stringof does have a history of being buggy,
poorly-defined, and frequently changing.
More information about the Digitalmars-d-learn