------- Comment #12 from rodolfo at rodsoft dot org 2007-08-06 14:18 ------- This is an yet simpler case where this bug shows up:
template <class T> void foo(T); void foo(int); void bar() { &foo; } i686-pc-linux-gnu-g++-4.2.1 fails with: teste.cpp: In function void bar(): teste.cpp:6: error: statement cannot resolve address of overloaded function -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5458