20 template <
class T>
class List;
25 template <
class T>
class List
28 List() : items(0), extent(0), array(0) { }
44 T*
remove(
const T* val);
50 int size()
const {
return items; }
54 int count(
const T* val)
const;
55 int index(
const T* val)
const;
56 T*
find(
const T* val)
const;
63 void qsort(T** a,
int lo,
int hi);
64 void resize(
int newsize);
65 bool check(
int&
index)
const;
66 void swap(T** a,
int i,
int j);