__FILE__? On 9/4/12, Ellery Newcomer <ellery-newcomer at utulsa.edu> wrote: > 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. >