This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/41690] Scoping is incorrect for inherited classes nested inside a templated class.
- From: "timothy dot renner at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Oct 2009 05:47:52 -0000
- Subject: [Bug c++/41690] Scoping is incorrect for inherited classes nested inside a templated class.
- References: <bug-41690-18308@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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