This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: g++ template function overload resolution failure(?)
- From: Karel Gardas <kgardas at objectsecurity dot com>
- To: Richard Guenther <rguenth at tat dot physik dot uni-tuebingen dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 28 Jan 2004 13:12:18 +0100 (CET)
- Subject: Re: g++ template function overload resolution failure(?)
On Wed, 28 Jan 2004, Richard Guenther wrote:
> Anyway - here follows a testcase that is currently failing:
>
JFYI: quick testing with como4.3.3 and icc8 and both also complain:
thinkpad:/tmp$ como -c tt.cc
"tt.cc", line 23: error: no instance of function template "foo" matches the
argument list
argument types are: (Foo<Object<int, Tag1>>)
foo(Foo<Object<int, Tag1> >());
^
1 error detected in the compilation of "tt.cc".
thinkpad:/tmp$ icc -c tt.cc
tt.cc(23): error: no instance of function template "foo" matches the argument list
argument types are: (Foo<Object<int, Tag1>>)
foo(Foo<Object<int, Tag1> >());
^
compilation aborted for tt.cc (code 2)
thinkpad:/tmp$
Cheers,
Karel
--
Karel Gardas kgardas@objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com