------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-19 12:02 ------- This is how C++ works, in the first case since it is a function template, the second template argument can be determined by the function argument.
In the second example, the class template's template arguments cannot be determined by any explicated way. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21661