c++/10690
Wolfgang Bangerth
bangerth@ices.utexas.edu
Thu May 8 20:18:00 GMT 2003
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/
More information about the Gcc-bugs
mailing list