public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/10690
@ 2003-05-08 20:26 Giovanni Bajo
0 siblings, 0 replies; 2+ messages in thread
From: Giovanni Bajo @ 2003-05-08 20:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/10690; it has been noted by GNATS.
From: "Giovanni Bajo" <giovannibajo@libero.it>
To: "Wolfgang Bangerth" <bangerth@ices.utexas.edu>,
<gcc-gnats@gcc.gnu.org>,
<sebor@roguewave.com>
Cc: <gcc-bugs@gcc.gnu.org>
Subject: Re: c++/10690
Date: Thu, 8 May 2003 22:18:05 +0200
Wolfgang Bangerth <bangerth@ices.utexas.edu> wrote:
> there
> were two function templates "foo", so
> typeid(foo<T>)
> could not possibly give a meaningful result.
Well, one is right out due to SFINAE.
Giovanni Bajo
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: c++/10690
@ 2003-05-08 20:26 Wolfgang Bangerth
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Bangerth @ 2003-05-08 20:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/10690; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth@ices.utexas.edu>
To: Giovanni Bajo <giovannibajo@libero.it>, <gcc-gnats@gcc.gnu.org>,
<sebor@roguewave.com>
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<T>)
could not possibly give a meaningful result. I bet, you wanted to write
typeid(foo<T>(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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-08 20:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-08 20:26 c++/10690 Giovanni Bajo
2003-05-08 20:26 c++/10690 Wolfgang Bangerth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).