[Bug c++/40793] "Error: no matching function for call to XYZ" doesn't display function-template-arguments
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 30 23:59:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40793
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-11-30 23:52:05 UTC ---
So with the example in comment #5, we get:
t.cc: In function ‘void f()’:
t.cc:5:31: error: no matching function for call to ‘staticPrint()’
t.cc:2:18: note: candidate is: template<class T, T t> void staticPrint()
--- CUT ---
Is that good enough?
More information about the Gcc-bugs
mailing list