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++/41690] Scoping is incorrect for inherited classes nested inside a templated class.



------- Comment #2 from timothy dot renner at gmail dot com  2009-10-13 05:47 -------
Thank you, I found that I could access it that way, and it makes a good
workaround.  I'm curious why this is not a scoping bug though?  It seems like
the compiler should still be able to scope d_data from the parent class,
especially as it works when the parent class is not templated.  If that's not
true, could you please explain it to me?  I'd like to understand this.


-- 


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


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