http://d.puremagic.com/issues/show_bug.cgi?id=8402


Jonathan M Davis <jmdavisp...@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisp...@gmx.com


--- Comment #1 from Jonathan M Davis <jmdavisp...@gmx.com> 2012-07-20 10:27:41 
PDT ---
Default arguments with lambda functions don't really make sense given that
they're generally only used in one place, that default arguments are _not_ part
of the type (they're just inserted at the call site), and that there's no way
for lambdas or function pointers to carry default arguments with them. So, the
fact that it doesn't compile is a _good_ thing, though it really should give an
error for giving a default argument and not just an error at the call site.

This is related to bug# 3646, but I'm not sure if it's strictly speaking a
duplicate or not.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to