This is GCC Bugzilla
This is GCC Bugzilla Version 2.20+
View Bug Activity | Format For Printing | Clone This Bug
I'm surprised to find out that gcc doesn't grok this: ----------------------------- template <int N> void f () {} void g () { &f<2>; } ----------------------------- icc accepts this, but with gcc I get tmp/gg> ../build-gcc/gcc-install/bin/c++ -c abc.cc abc.cc: In function `void g()': abc.cc:4: error: statement cannot resolve address of overloaded function f<2> is a fully specialized function name, so it is not overloaded. How am I supposed to use this? W.
This is basically DR115, which is not resolved yet.
Confirm to suspend...
Suspend until DR 115 is ready.
Core DR 115 now has WP status: http://std.dkuug.dk/jtc1/sc22/wg21/docs/cwg_defects.html#115
Ok, moving to NEW then.
*** Bug 15711 has been marked as a duplicate of this bug. ***
*** Bug 27788 has been marked as a duplicate of this bug. ***
*** Bug 29187 has been marked as a duplicate of this bug. ***
*** Bug 28793 has been marked as a duplicate of this bug. ***
*** Bug 33005 has been marked as a duplicate of this bug. ***
*** Bug 34365 has been marked as a duplicate of this bug. ***
*** Bug 35398 has been marked as a duplicate of this bug. ***
Related to PR 10690.
*** Bug 36805 has been marked as a duplicate of this bug. ***
*** Bug 39018 has been marked as a duplicate of this bug. ***
Fixed for 4.5 by the patch for PR 37177.