void foobar(size_t line = __LINE__) { }
std.traits.moduleName looks like it almost does it, but it needs a symbol from the module.
void foobar(size_t line = __LINE__) { }
std.traits.moduleName looks like it almost does it, but it needs a symbol from the module.