Getting symbol of current function?

Basile B. b2.temp at gmx.com
Fri Dec 7 11:09:05 UTC 2018


On Friday, 7 December 2018 at 10:51:38 UTC, Tomer Filiba wrote:
> Is there some clever way to get the *symbol* of the current 
> function, given overloads? I want to log the current function's 
> arguments, but __FUNCTION__ et al only give me a name, which 
> resolves to the first overload.

Maybe this would be useful but the way __FUNCTION__ works now 
looks like a bug.
It should give the string representation of the one we're in.




More information about the Digitalmars-d mailing list