[Bug c++/23055] overload resolution does not find templated function
gdr at integrable-solutions dot net
gcc-bugzilla@gcc.gnu.org
Mon Jul 25 15:29:00 GMT 2005
------- Additional Comments From gdr at integrable-solutions dot net 2005-07-25 15:28 -------
Subject: Re: overload resolution does not find templated function
"bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| This basically boils down to this question:
| ---------------------
| template <class> struct S { typedef int type; };
|
| template <class T>
| int foo(T, typename S<T>::type * ret);
|
| int j = foo(1, 0);
| ----------------------
| icc accepts this, gcc doesn't. I believe it should.
Agreed. This is a GCCbug.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23055
More information about the Gcc-bugs
mailing list