Reading C++ Templates: The Complete Guide and it says
Note that templates cannot be declared in a function
It does not give e
What exactly would be the use? So you can declare template variables that you can only use within the function? Is that really useful?