[Bug c++/65969] typename allowed in using declaration of non-types names

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 24 17:22:10 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65969

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Another test:

struct A {
  void g();
};

namespace N {
  void f();
};

namespace M {
  using typename N::f;
}

struct X : A {
  using typename A::g;
};


More information about the Gcc-bugs mailing list