From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26457 invoked by alias); 8 May 2003 20:26:02 -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 26403 invoked by uid 71); 8 May 2003 20:26:01 -0000 Date: Thu, 08 May 2003 20:26:00 -0000 Message-ID: <20030508202601.26397.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Wolfgang Bangerth Subject: Re: c++/10690 Reply-To: Wolfgang Bangerth X-SW-Source: 2003-05/txt/msg00643.txt.bz2 List-Id: The following reply was made to PR c++/10690; it has been noted by GNATS. From: Wolfgang Bangerth To: Giovanni Bajo , , Cc: gcc-bugs@gcc.gnu.org Subject: Re: c++/10690 Date: Thu, 8 May 2003 15:16:38 -0500 (CDT) Giovanni's right, though the original code had one more complexity: there were two function templates "foo", so typeid(foo) could not possibly give a meaningful result. I bet, you wanted to write typeid(foo(t)) instead, which still gives the ambiguity error with 3.2.3, but compiles fine with 3.3 and 3.4. The error Giovanni brought up persists, though. W. ------------------------------------------------------------------------- Wolfgang Bangerth email: bangerth@ices.utexas.edu www: http://www.ices.utexas.edu/~bangerth/