http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53822
--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> 2012-06-30 16:59:13
UTC ---
Hmm, the true message from 4.8, not 4.7 this time:
mp.cc: In function 'int main()':
mp.cc:6:6: error: call of overloaded 'f(NT&)' is ambiguous
f(i);
^
mp.cc:6:6: note: candidates are:
mp.cc:1:6: note: void f(float)
void f(float);
^
mp.cc:2:6: note: void f(double)
void f(double);
^
