modulename

Ellery Newcomer ellery-newcomer at utulsa.edu
Tue Sep 4 12:33:51 PDT 2012


anybody know a neat trick to get the module name that a function is 
being called in a la

void foobar(size_t line = __LINE__) {
}

std.traits.moduleName looks like it almost does it, but it needs a 
symbol from the module.


More information about the Digitalmars-d-learn mailing list