Questions tagged [partial-specialization]

Partial template specialization is a particular form of class template specialization. Usually used in reference to the C++ programming language, it allows the programmer to specialize only some arguments of a class template, as opposed to explicit specialization, where all the template arguments are provided.

316 questions
4
votes
2 answers

partial template template vector specialization

I have a general function that handles different containers. template class C, class T, class A> void handle(C const& c) { cout << "General handling\n"; } Now I would like it to react differently if I pass it a…
turoni
  • 1,345
  • 1
  • 18
  • 37
4
votes
1 answer

Undefined reference to specialized template member

I have a class parameterized by a template template class with a static member function: template