B
bluekite2000
I current have
template<typename T>
class Vector
{
....
Vector(const Vector& Vin)
{
....
}
...
}
int main(void)
{
Vector<double> V(5);
Vector<int> V1(V);//doesnt work
}
How would I solve this problem?
Thanx.
template<typename T>
class Vector
{
....
Vector(const Vector& Vin)
{
....
}
...
}
int main(void)
{
Vector<double> V(5);
Vector<int> V1(V);//doesnt work
}
How would I solve this problem?
Thanx.