[Bug c++/41690] Scoping is incorrect for inherited classes nested inside a templated class.

timothy dot renner at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Oct 13 05:48:00 GMT 2009



------- 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



More information about the Gcc-bugs mailing list