------- 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" <[EMAIL PROTECTED]> 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

Reply via email to