[Bug c++/13549] [3.4 Regression] Regression compiling Boost.Python test

dave at boost-consulting dot com gcc-bugzilla@gcc.gnu.org
Fri Jan 2 22:40:00 GMT 2004


------- Additional Comments From dave at boost-consulting dot com  2004-01-02 22:40 -------
I think the main question here is: must a function invoked with explicitly-
specified template arguments be found in phase 1 in order to be considered as 
candidates?

I think this program captures the question:

template <int n>
int f(char*);

template <class T>
int g(T x)
{
   return f<1>(x);
}


I'm not sure how to interpret 14.6.4.2, but I believe it is relevant.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13549



More information about the Gcc-bugs mailing list