Yes, you can use the same name for template parameters in different functions, just as you can call arguments the same. These names are not completely related in different functions.
And yes, you should use the keyword template
according to C ++ grammar.
source
share