[Bug c++/13659] [3.4 Regression] error: no matching function for call to

giovannibajo at libero dot it gcc-bugzilla@gcc.gnu.org
Mon Jan 12 17:41:00 GMT 2004


------- Additional Comments From giovannibajo at libero dot it  2004-01-12 17:41 -------
This testcase proposed by Alexandre Oliva:

--------------------------
namespace foo1 {
  template <class T> void f(T);
}
namespace foo2 {
  template <class T> void f(T, T);
}
namespace foo {
  using namespace foo1;
  using namespace foo2;
}

using foo::f;

int main() {
  f(1);
  f(1, 1);
}
--------------------------

shows the lookup regression without strong using.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13659



More information about the Gcc-bugs mailing list