[Bug c++/85128] Local scope type(def) falsely assumed to change meaning of outer scope type(def)

steffen at sdaoden dot eu gcc-bugzilla@gcc.gnu.org
Fri Mar 30 12:57:00 GMT 2018


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

--- Comment #2 from Steffen Nurpmeso <steffen at sdaoden dot eu> ---
Excuse me please, but in how far is

  namespace X{
  class A;
  class B;
  }
  class X::A{..};
  class X::B { typedef X::A A; }

invalid C++?  Which standard added that??


More information about the Gcc-bugs mailing list