Time for std.reflection

Adam D. Ruppe destructionator at gmail.com
Mon Nov 19 05:35:49 PST 2012


On Monday, 19 November 2012 at 11:43:36 UTC, sclytrack wrote:

You could do something like this:
string currentModule(alias T = {})() { return __traits(parent, 
T).stringof; }



More information about the Digitalmars-d mailing list