0

Suppose I have this template:

template<class T, int a, int b>
class Foo

I have a partial specialized version of the above template for char:

template<int a, int b>
class Foo<char, a, b>

How can I further specialize the above template for, say, a = 1?

Chin
  • 19,717
  • 37
  • 107
  • 164

1 Answers1

0

You can't specialize a specialization, you can only make another specialization be a better match.

Chin
  • 19,717
  • 37
  • 107
  • 164