[Bug c++/41223] [4.4.1] template template member function -> error: no matching function for call ...

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Sep 2 05:12:00 GMT 2009



------- Comment #1 from pinskia at gcc dot gnu dot org  2009-09-02 05:12 -------
This code is invalid.  The reason is std::vector is a template that takes two
template arguments (with a default one).  

So template<typename T> class Container  does not match std::vector in 4.4. 
This was a removed undocumented extension.


-- 


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



More information about the Gcc-bugs mailing list