Fully qualified name of an identifier as a compile-time string

Philippe Sigaud philippe.sigaud at gmail.com
Thu Oct 28 21:59:27 PDT 2010


Hello,

you could try core.demangle.demangle(identifier.mangleof)

the .mangleof gives access to the qualified name and demangle preserves it.
IIRC there are now two demanglers in Phobos, one in std.demangle, that
will be deprecated and another one in core.*
Sorry not to be more precise, I don't have access to Phobos/DMD right now.


Philippe


More information about the Digitalmars-d-learn mailing list