[Bug c++/41690] Scoping is incorrect for inherited classes nested inside a templated class.
paolo dot carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Tue Oct 13 10:26:00 GMT 2009
------- Comment #5 from paolo dot carlini at oracle dot com 2009-10-13 10:26 -------
To be clear, the use of this-> isn't a "workaround", is the way C++ as
specified in the current International standard works. This is not the place
for general explanations, you may want to browse D. Vandevoorde and Nicolai M.
Josuttis, "C++ Templates", Addison Wesley, for a clear treatment of the this->,
typename, ::templte, .template, etc., subtleties and *much* more.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41690
More information about the Gcc-bugs
mailing list