From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22668 invoked by alias); 25 Nov 2001 18:56:01 -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 22654 invoked by uid 71); 25 Nov 2001 18:56:01 -0000 Date: Tue, 20 Nov 2001 18:07:00 -0000 Message-ID: <20011125185601.22653.qmail@sourceware.cygnus.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: aoliva@gcc.gnu.org Subject: Re: c++/4793: friend template to a template class is not recognized as friend Reply-To: aoliva@gcc.gnu.org X-SW-Source: 2001-11/txt/msg00608.txt.bz2 List-Id: The following reply was made to PR c++/4793; it has been noted by GNATS. From: aoliva@gcc.gnu.org To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, jagol-8jy3oxpJJ@suckfuell.net, nobody@gcc.gnu.org Cc: Subject: Re: c++/4793: friend template to a template class is not recognized as friend Date: 25 Nov 2001 18:47:14 -0000 Synopsis: friend template to a template class is not recognized as friend State-Changed-From-To: open->closed State-Changed-By: aoliva State-Changed-When: Sun Nov 25 10:47:14 2001 State-Changed-Why: Your code is missing the template brackets and arguments when referencing a previously-declared template function. Try: template friend int f(T a, S b); http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4793&database=gcc