From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15493 invoked by alias); 8 May 2003 20: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 15459 invoked by uid 71); 8 May 2003 20:56:01 -0000 Date: Thu, 08 May 2003 20:56:00 -0000 Message-ID: <20030508205601.15458.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Martin Sebor Subject: Re: c++/10690: bogus ambiguity on templates overloaded on return type Reply-To: Martin Sebor X-SW-Source: 2003-05/txt/msg00648.txt.bz2 List-Id: The following reply was made to PR c++/10690; it has been noted by GNATS. From: Martin Sebor To: gcc-gnats@gcc.gnu.org Cc: Subject: Re: c++/10690: bogus ambiguity on templates overloaded on return type Date: Thu, 08 May 2003 14:51:19 -0600 No, typeid (foo) is what I wanted. There is exactly one foo for each of the three arguments of T in the program, and they are: foo, foo, and foo. typeid(foo).name() should return the name of each specialization. Note that while Intel C++ gives an ICE, the latest EDG front end, eccp 3.2, that's coming out in a few days, is supposed to compile the code correctly. The oly other compiler that I know of that compiles the code is IBM VAC++ 6.0 (although it fails to link, not sure why). Martin http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10690