if CArray takes a class parameter like this:

template <class T> class CArray {....};

then you can extend it like this:

template <class T> class MyCArray : public CArray<T>

{

bool MyFunction(const T&); //etc etc

};

-MAHESH

template <class T> class CArray {....};

then you can extend it like this:

template <class T> class MyCArray : public CArray<T>

{

bool MyFunction(const T&); //etc etc

};

-MAHESH