E
erictham115
hi
Suppose i have a template class
template <class V, class I=int, class S=FullMatrix<V> > where the
FullMatrix is another template object.
class matrix
I will like to either create a constructor or add a function which
copies from another template class with only
template<class V>
class matrixsub
such that a new matrix object is created.
The class I and S can be populated by default types.
Does anyone know how to do it? I am a loss how to start in the 1st
place, so do not have any sample code.
Eric
Suppose i have a template class
template <class V, class I=int, class S=FullMatrix<V> > where the
FullMatrix is another template object.
class matrix
I will like to either create a constructor or add a function which
copies from another template class with only
template<class V>
class matrixsub
such that a new matrix object is created.
The class I and S can be populated by default types.
Does anyone know how to do it? I am a loss how to start in the 1st
place, so do not have any sample code.
Eric