Because that's required syntax for template specialization. As, I was saying though, I don't see the need for template specialization here. I might be misunderstanding though. I feel like overloading the function is just as easy for the special case. Does the compile still generate a int version of the templated function when you just overload as I did?Originally Posted by twomers