From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17933 invoked by alias); 4 May 2003 17:26:00 -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 17919 invoked by uid 71); 4 May 2003 17:26:00 -0000 Date: Sun, 04 May 2003 17:26:00 -0000 Message-ID: <20030504172600.17918.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Wolfgang Bangerth Subject: Re: c++/10619 Reply-To: Wolfgang Bangerth X-SW-Source: 2003-05/txt/msg00243.txt.bz2 List-Id: The following reply was made to PR c++/10619; it has been noted by GNATS. From: Wolfgang Bangerth To: Giovanni Bajo Cc: gcc-gnats@gcc.gnu.org, Subject: Re: c++/10619 Date: Sun, 4 May 2003 12:21:40 -0500 (CDT) > template void foo(int ); // #1 > template void foo(int ); // #2 Yes, sorry, I was confused. I thought these two lines are illegal, but of course they're not. I was thinking about template _classes_, not functions. The former can't be overloaded that way, the latter can. W. ------------------------------------------------------------------------- Wolfgang Bangerth email: bangerth@ices.utexas.edu www: http://www.ices.utexas.edu/~bangerth/