This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21665] template template parameter function overload not recognized
- From: "johill at lanl dot gov" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 May 2005 14:30:48 -0000
- Subject: [Bug c++/21665] template template parameter function overload not recognized
- References: <20050519141941.21665.johill@lanl.gov>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From johill at lanl dot gov 2005-05-19 14:30 -------
Here is a truncated version of the compiler output
~/tmp$ g++ tmp11.cpp >& tmp.txt
~/tmp$ vi tmp.txt
tmp11.cpp: In static member function `static void
MyContainer::traverseTempl(C*, PropertyManipulator<PROPERTY>&) [with C =
MyContainer, PROPERTY = PropertyMutable]':
tmp11.cpp:249: instantiated from here
tmp11.cpp:240: no matching function for call to `
PropertyManipulator<PropertyMutable>::reveal(PropertyMutable<int>)'
tmp11.cpp:19: candidates are: void
PropertyManipulator<PROPERTY>::reveal(PROPERTY<float>&) [with PROPERTY =
PropertyMutable]
tmp11.cpp:20: void
PropertyManipulator<PROPERTY>::reveal(PROPERTY<double>&) [with PROPERTY =
PropertyMutable]
tmp11.cpp:21: void
PropertyManipulator<PROPERTY>::reveal(PROPERTY<char>&) [with PROPERTY =
PropertyMutable]
tmp11.cpp:22: void
PropertyManipulator<PROPERTY>::reveal(PROPERTY<signed char>&) [with PROPERTY
= PropertyMutable]
tmp11.cpp:23: void
PropertyManipulator<PROPERTY>::reveal(PROPERTY<unsigned char>&) [with
PROPERTY = PropertyMutable]
tmp11.cpp:24: void
PropertyManipulator<PROPERTY>::reveal(PROPERTY<short int>&) [with PROPERTY =
PropertyMutable]
tmp11.cpp:25: void
PropertyManipulator<PROPERTY>::reveal(PROPERTY<short unsigned int>&) [with
PROPERTY = PropertyMutable]
tmp11.cpp:26: void
PropertyManipulator<PROPERTY>::reveal(PROPERTY<int>&) [with PROPERTY =
PropertyMutable]
tmp11.cpp:27: void
PropertyManipulator<PROPERTY>::reveal(PROPERTY<unsigned int>&) [with
PROPERTY = PropertyMutable]
tmp11.cpp:28: void
PropertyManipulator<PROPERTY>::reveal(PROPERTY<long int>&) [with PROPERTY =
PropertyMutable]
tmp11.cpp:29: void
PropertyManipulator<PROPERTY>::reveal(PROPERTY<long unsigned int>&) [with
PROPERTY = PropertyMutable]
tmp11.cpp:30: void
PropertyManipulator<PROPERTY>::reveal(PROPERTY<Time>&) [with PROPERTY =
PropertyMutable]
tmp11.cpp:31: void
PropertyManipulator<PROPERTY>::reveal(PROPERTY<StringSegment>&) [with
"tmp.txt" 315L, 14729C 5,1 To
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21665