------- Comment #10 from mmitchel at gcc dot gnu dot org  2006-03-08 22:28 
-------
I think the code in Comment #1 is unambiguously invalid.

7.3.3/11 says says that a function declaration in namespace scope may not match
the declaration of a function introduced by a using declaration; i.e., the
following:

  namespace N { void f(); };
  using N::f;
  void f();

is invalid.  Making the functions templates does not change that.  That
paragraph also makes clear that the code in Comment #9 is valid.  I don't see
any DRs that suggest changes in this area.


-- 


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

Reply via email to