Source File and Position of User Defined Type

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 11 13:52:05 PDT 2014


> I don't believe this is possible. Perhaps you would be able to

How about adding

__traits(sourceFile, T)
__traits(sourceLine, T)
__traits(sourceColumn, T)

to DMD?

T of course must be a user-defined type.



More information about the Digitalmars-d-learn mailing list