From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14051 invoked by alias); 13 Oct 2009 10:26:42 -0000 Received: (qmail 13993 invoked by uid 48); 13 Oct 2009 10:26:26 -0000 Date: Tue, 13 Oct 2009 10:26:00 -0000 Message-ID: <20091013102626.13992.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/41690] Scoping is incorrect for inherited classes nested inside a templated class. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "paolo dot carlini at oracle dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-10/txt/msg01108.txt.bz2 ------- 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