[Webkit-unassigned] [Bug 22325] MSVC gives bogus error about template argument specialization?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 18 22:37:31 PST 2008


nathanhowell at hotmail.com changed:

           What    |Removed                     |Added
                 CC|                            |nathanhowell at hotmail.com

------- Comment #1 from nathanhowell at hotmail.com  2008-11-18 22:37 PDT -------
One of the MSVC devs would like a repro case if this is a VC9 regression.

This warning is emitted when f<T>(args) calls something different than f(args).
 The warning dates back to VC7.1 at least, so I'm not sure what changed here.

Generally, explicit template arguments are unnecessary; you should let template
argument deduction do the work for you.  So, you should carefully think about
why you're calling f<T>(args), and whether f(args) would be better.

I can't really say more (especially about the "then you need to make it an
explicit specialization" part) without seeing a self-contained test case.  As
your code appears to be very complicated (with many template arguments), a
simplified self-contained test case would be much appreciated.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list