I'd like to get the symbolic name of the current function I'm in
void foo() { writeln(thisFunc.stringof()); // prints foo }I need something short, elegant and doesn't require modifying preexisting code... I'm sure D has something along those lines?
I'd like to get the symbolic name of the current function I'm in
void foo() { writeln(thisFunc.stringof()); // prints foo }I need something short, elegant and doesn't require modifying preexisting code... I'm sure D has something along those lines?