From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13273 invoked by alias); 22 Sep 2006 16:22:59 -0000 Received: (qmail 13247 invoked by uid 48); 22 Sep 2006 16:22:52 -0000 Date: Fri, 22 Sep 2006 16:22:00 -0000 Message-ID: <20060922162252.13246.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/29184] member template function of template class can't access some private members In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "paul dot otto at canfieldsci dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-09/txt/msg02162.txt.bz2 List-Id: ------- Comment #1 from paul dot otto at canfieldsci dot com 2006-09-22 16:22 ------- Created an attachment (id=12308) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12308&action=view) Preprocessed file exhibiting the problem The templated member contructor is unable to access the private class members of its const ref argument. Since that argument is an instance of the same class, my understanding is that it should be able to. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29184