[Bug c++/21092] friend inaccessibility

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Mon Apr 18 20:29:00 GMT 2005


------- Additional Comments From bangerth at dealii dot org  2005-04-18 20:29 -------
This sentence just says that you can't do this: 
  class A { private: struct I{}; }; 
  class B { friend class A::I;   }; 
because A::I isn't accessible in B. 
 
W. 

-- 


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



More information about the Gcc-bugs mailing list