[Issue 8109] typeof(function) within functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 10 13:08:13 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=8109

Basile-z <b2.temp at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.temp at gmx.com

--- Comment #3 from Basile-z <b2.temp at gmx.com> ---
What's needed is not a special typeof(function), but more a new symbol that
represents the function we're in and that would work with typeof(). In addition
it would be nice to have a special symbol that would represent the tuple of
parameters.

using metaprog and __FUNCTION__ is known to work only when the current func has
no overload.

--


More information about the Digitalmars-d-bugs mailing list