I have an issue with template specialization which I would like to understand. I\'m working with Visual C++ 10.0 (2010). I have a class like this:
class Variable
Method starting with template<>
is still considered a template
specialization method. So you must have to put into a header file.
If you want to put it into a implementation file then you have to overload it.
class VariableManager
{
//...
VarT get(std::string const& name) const
{}
std::string get(std::string const& name) const; //overloading not specialization
};