Red Squirrel
No Lifer
I have a template class that I want to add an object of in a vector, I'm trying this but it's not compiling, so I'm guessing there must be another way:
xVector<SP<DataClass>> vect;
xVector is a template class, and so is SP, so I want to put a SP that holds a DataClass into the vector.
xVector is a wraper of Vector that I made for ease of use, do I maybe need to overload something for this to work?
xVector<SP<DataClass>> vect;
xVector is a template class, and so is SP, so I want to put a SP that holds a DataClass into the vector.
xVector is a wraper of Vector that I made for ease of use, do I maybe need to overload something for this to work?