[Issue 23955] Can't access non-eponymous members in IFTI template

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 3 22:45:28 UTC 2023


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

--- Comment #2 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
For the above puzzle, the workaround/solution is to declare both a template
overload and non-template overloads for the method. The lambdas (function
templates) will resolve onto the overload set, and everything else can use the
template.

--


More information about the Digitalmars-d-bugs mailing list