[Bug c++/21665] template template parameter function overload not recognized
johill at lanl dot gov
gcc-bugzilla@gcc.gnu.org
Thu May 19 14:39:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list