Top "Template-templates" questions

Often used to refer to a template parameter that is itself a template.

What are some uses of template template parameters?

I've seen some examples of C++ using template template parameters (that is templates which take templates as parameters) to do …

c++ templates template-templates
Variadic template templates and perfect forwarding

This question on the object generator pattern got me thinking about ways to automate it. Essentially, I want to automate …

c++ c++11 variadic-templates template-templates
Why is allocator::rebind necessary when we have template template parameters?

Every allocator class must have an interface similar to the following: template<class T> class allocator { ... template<…

c++ templates allocator template-templates
Template template parameters and variadic templates with gcc 4.4

I'm using gcc 4.4 on Debian squeeze. Consider the following code. #include <map> #include <string> using std::…

c++ c++11 variadic-templates template-templates