This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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??

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]