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