Walter Bright <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #6 from Walter Bright <> 2011-04-05 
22:15:35 PDT ---
(In reply to comment #4)
> The two delegates *are* the same type, so they are supposed to lead to the 
> same 
> template instantiation. Introducing a default parameter does not create a new 
> type.
> I'm not sure why function pointers with default parameters are accepted at 
> all. 
> I think it should be an error.

I suspect the only way to deal with this is, as you suggest, disallowing
default arguments for function pointers. I don't know what the downside of that
is, though.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to