This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/10690
- From: Wolfgang Bangerth <bangerth at ices dot utexas dot edu>
- To: Giovanni Bajo <giovannibajo at libero dot it>, <gcc-gnats at gcc dot gnu dot org>, <sebor at roguewave dot com>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 8 May 2003 15:16:38 -0500 (CDT)
- Subject: Re: c++/10690
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/