This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]