>I want to have a template array as a private attribute of a class,
>how do i pass this template into the Constructor?
I do not know exactly what you mean, you mean you have a constructor which has a template as argument?
For example, assume you have a type derived from the template class vector and you want to create a constructor which accepts a vector, then you could do something like this:
>also i wish to overload an operator, but need to compare
template <class T>
SortedVector<T>::SortedVector (const vector<T>& v): vector<T> (v)
// Perhaps sort the vector and do other stuff
>attributes of a class which is stored in a template array which
>itsself is stored in another class, so ive used a pointer to refere
>to that class.
Hmmm, a little bit confusing. So you have a template array which consists of elements of class A and the template array is stored in a class B? Then you should make an interface to the elements of class A so that you can reach them. For example a get-function in class A, in your class you can then call the n-th element's get-function.