------- Comment #4 from pinskia at gcc dot gnu dot org  2006-08-21 01:31 -------
(In reply to comment #3)
> This works in 4.1.0.
Meaning it does not ICE.
../../include/viewAsGraph.hh: In instantiation of
‘viewAsGraph<std::vector<edgeTest, std::allocator<edgeTest> > >’:
../src/viewAsGraphTest.cc:21:   instantiated from here
../../include/viewAsGraph.hh:153: error: ambiguous template specialization
‘source<>’ for ‘const int& source(const edgeTest&, const
viewAsGraph<std::vector<edgeTest, std::allocator<edgeTest> > >&)’
../../include/viewAsGraph.hh:159: error: ambiguous template specialization
‘target<>’ for ‘const int& target(const edgeTest&, const
viewAsGraph<std::vector<edgeTest, std::allocator<edgeTest> > >&)’
../../include/viewAsGraph.hh:166: error: template-id ‘put<>’ for ‘void
put(boost::default_color_type*, const int&, boost::default_color_type)’ does
not match any template declaration
../../include/viewAsGraph.hh:169: error: template-id ‘get<>’ for
‘boost::default_color_type get(boost::default_color_type*, const int&)’ does
not match any template declaration
../src/viewAsGraphTest.cc: In function ‘int main(int, char**)’:
../src/viewAsGraphTest.cc:22: error: call of overloaded ‘source(edgeTest,
main(int, char**)::graphType&)’ is ambiguous


-- 


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

Reply via email to