<uvts_cvs@yahoo.com> wrote in message
news:1171447103.962079.235320@k78g2000cwa.googlegroups.com...
On Feb 13, 8:52 pm, "Ben Voigt" <r...@nospam.nospam> wrote:
<uvts_...@yahoo.com> wrote in message
news:1171360780.845664.323990@m58g2000cwm.googlegroups.com...
It looks like an error in template argument deduction. You should
confirm
that explicitly specifying the template argument works, then post a
bug report on Microsoft Connect.
I can confirm that this is an error in template argument deduction.
call<void(*)(int)> (foo);
Compiles successfully.
I posted the bug on Microsoft Connect and just a few hour later the
status of the bug became Resolved(Won't Fix) without any note.
This is the last time I spend my time to help Microsoft finding bugs!
I think that is rather poor.
I understand that MS has to set priorities and that compiler updates
are years in the planning, but to simply say they won't fix it without
explanation isn't good enough. If you make the effort to report a bug,
complete with steps to reproduce it, then you deserve better.
I would like to this this is some site glitch or that further
information will be forthcoming later. The report is here
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=257746
I added a vote and validation. I suggest that others who think it
should be fixed do likewise.
I've added a work-around (not necessarily possible in the OP's case).
it will compile. Not sure what the reason for having 'f' a reference
was initially.