[Issue 8452] if lambda function can be template?

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jul 4 16:03:13 PDT 2014


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

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |code at dawg.eu
         Resolution|---                         |INVALID

--- Comment #1 from Martin Nowak <code at dawg.eu> ---
I don't really understand what this bug report is about.
Yes, D supports polymorphic lambdas (lambdas are templates), but no you can't
assign them to a named variable.
There is bug 12421 which adds the ability to alias polymorphic lambdas.

--


More information about the Digitalmars-d-bugs mailing list