On Saturday, 23 October 2021 at 18:23:47 UTC, Simon wrote:
So what I am looking for then is the equivalent to __FUNCTION__ that evaluates to the actual symbol of the function instead of its name, so it can be used as a parameter to ParameterIdentifierTuple.

You could use the following:

alias F = __traits(parent, {});

The lambda {} is a symbol inside the function. F will be its parent, which is the function itself.

Reply via email to