Aliasing current function template instance

Steven Schveighoffer schveiguy at gmail.com
Fri May 1 20:43:05 UTC 2020


On 5/1/20 4:28 PM, Jean-Louis Leroy wrote:

> Something I have overlooked? Any ideas?
> 

This trick works. No idea who came up with it:

alias thisFunction = __traits(parent, {});

-Steve


More information about the Digitalmars-d-learn mailing list