hi all,
is there anyway to pass a (unspecialised) templated class reference through a function? something like :
except that doesn't compile -Code:template <class TYPE> class VECTOR3 {/*etc etc*/}; template <class TYPE> class MTRand{/*etc etc*/}; int AFunction(VECTOR3<TYPE> v1, VECTOR3<TYPE> v2, MTRand<TYPE>);
d:\documents\comsic ray muon tomography\muon generator\muon generator\muonimagingmcsim.h(13) : error C2065: 'TYPE' : undeclared identifier
any help with my C/C++ language bastardisation greatly appreciated!![]()



LinkBack URL
About LinkBacks



