Compiler Error C2898

'Declaration' : member function templates cannot be virtual

Member function templates cannot be virtual. For example:

class X {
public:

   //Error:
   template<typename T> virtual void f(T t){...}
};