From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13521 invoked by alias); 8 Jan 2003 17:14:35 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 13499 invoked by uid 61); 8 Jan 2003 17:14:34 -0000 Date: Wed, 08 Jan 2003 17:14:00 -0000 Message-ID: <20030108171434.13498.qmail@sources.redhat.com> To: bangerth@ticam.utexas.edu, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org From: reichelt@igpm.rwth-aachen.de Reply-To: reichelt@igpm.rwth-aachen.de, bangerth@ticam.utexas.edu, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/9230: Friend definitions in template classes X-SW-Source: 2003-01/txt/msg00547.txt.bz2 List-Id: Synopsis: Friend definitions in template classes State-Changed-From-To: open->feedback State-Changed-By: reichelt State-Changed-When: Wed Jan 8 09:14:33 2003 State-Changed-Why: As I read paragraph 14.6.5.1 in the standard, this is the expected behavior: > Friend classes or functions can be declared within a class template. When > a template is instantiated, the names of its friends are treated as if > the specialization had been explicitly declared at its point of instantiation. For short: No instatiation, no declaration. Convinced, Wolfgang? http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9230