[Bug c++/23823] Is this right?

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Sep 11 14:46:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-11 14:46 -------
(In reply to comment #0)
> foo.cc:13: error: partial specialization `g<T, true>' of function template
> foo.cc:13: error: got 1 template parameters for `void foo::g()'
> foo.cc:13: error:   but 2 required

No, there are only one:
template<typename T>

-- 


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



More information about the Gcc-bugs mailing list