Make sure that there is only one definition for each member function of a templated class. Ex:
// compile with: /c
template <class T>
void Test(T x){}
template <class T> void Test(T x){} // C2995
Possible resolution:
// compile with: /c
template <class T>
void Test(T x){}
template <class T> void Test2(T x){}
This article is a derivative work based on Compiler Error C2995 which is provided by MSDN Community Content - Visual C++.