This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]