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++/12057] gcc compilation errors for nested template classes.


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From bangerth at dealii dot org  2003-08-25 19:54 -------
What I mean is that this is not allowed: 
    class Itr; 
    class Itr::Impl; //GIVES ABOVE ERROR AT THIS LINE// 
 
You can't forward declare Itr::Impl this way, you can only forward declare it _inside_ Itr. 
If you disagree with this, please send us a complete self-contained testcase, as described 
here: 
  http://gcc.gnu.org/bugs.html 
 
W.


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