I understood that GetValue<D3DXVECTOR3>::Initialize was not defined. How can I reuse the GetValue::Initialize method in every derived classes from GetValue, such as GetD3DXVECTOR3, GetD3DXMATRIX, GetOpenGLVector3 etcCode:// declaration template<class T> class GetValue { void Initialize(std::string fileName); }; // definition template<class T> void GetValue<T>::Initialize(std::string fileName) { } // inheritance class GetD3DXVECTOR3 : public GetValue<D3DXVECTOR3> { };
Thanks
Jack