Talk:cpp/language/class template
From cppreference.com
[edit] Suggestion: move this page to cpp/language/templates
- There need to exist a page that briefly introduce all kinds of templates and the rules that apply to all templates. Currently there are lots of pages that refer to generic template declaration, e.g cpp/keyword/template, cpp/keyword/typename, cpp/language/declarations. These pages are using the wording " class template or function template". But as there are 3 kinds of templates now ( class template, function template and alias template), and c++14 will introduce the 4th kind of template (variable template), those statements are actually incorrect, and if enumerate all 4 kinds of templates, the statements can't be much simple and clear .
- This page is mainly talking about things that apply to all template declarations now. It needs a more proper title.
--60.55.10.138 03:31, 15 February 2014 (PST)
- The page you're looking for is currently a redlink, templates, you can see a link to it from cpp/language. I'll put something together soon.--Cubbi (talk) 06:29, 15 February 2014 (PST)
[edit] What is a template parameter?
parameter-list is a non-empty comma-separated list of the template parameters, each of which is either non-type parameter, a type parameter, a template parameter, or a parameter pack of any of those.
That says a template parameter can be a template parameter. What does that mean?