[Bug c++/27123] friend class declaration doesn't search out of the namespace

2007-05-09 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-05-09 23:10 --- http://gcc.gnu.org/ml/gcc-patches/2004-12/msg00021.html http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14513 Look at: http://gcc.gnu.org/ml/gcc/2004-03/msg00668.html for a real description of why this is invalid code.

[Bug c++/27123] friend class declaration doesn't search out of the namespace

2006-04-11 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-11 18:56 --- You did not read the changes page: http://gcc.gnu.org/gcc-4.0/changes.html When declaring a friend class using an unqualified name, classes outside the innermost non-class scope are not searched: class A; namespace