Re: VS 2005 Bug?



John Carson wrote:
<uvts_cvs@xxxxxxxxx> wrote in message
news:1171447103.962079.235320@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Feb 13, 8:52 pm, "Ben Voigt" <r...@xxxxxxxxxxxxx> wrote:
<uvts_...@xxxxxxxxx> wrote in message

news:1171360780.845664.323990@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


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).

If the 'call' template is written this way:

template <typename f_t>
void call (f_t f)
{
f(0);
}

it will compile. Not sure what the reason for having 'f' a reference
was initially.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask


.



Relevant Pages

  • Re: LoadPicture VB function in Office:mac 2004
    ... this is a known bug. ... Please take a moment to visit this URL and send a report ... MVPs are not Microsoft Employees ... > properties page to manually set the picture property of the image1 object ...
    (microsoft.public.mac.office.excel)
  • Re: Is there someplace to report grammar checker errors?
    ... We would all like every Microsoft product to be perfect (and I think you ... There are ways to report bugs, and all reported bugs are considered. ... bug and the number of users it affects. ... grammar checker makes an incorrect suggestion if it means taking time away ...
    (microsoft.public.word.newusers)
  • Re: PC .doc file crashes word (Snow leopard)
    ... button injects your report and the section of code ... directly into the Microsoft bug database. ... but your bug is now in the queue for consideration. ... McGhie Information Engineering Pty Ltd, Sydney, Australia. ...
    (microsoft.public.mac.office.word)
  • Re: Help us please
    ... If you cannot access the MS bug report sites, ... > I am trying to report VFP bugs for Microsoft to correct it in VFP9 because now we ... > good company as Microsoft. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: A bug in MS Access
    ... Allen Browne - Microsoft MVP. ... > before and I couldn't find a forum to report this bug. ... To vote for this suggestion, ...
    (microsoft.public.access.modulesdaovba)