11 #define OSTREAM std::ostream 12 #elif defined(HAVE_IOSTREAM_H) 14 #define OSTREAM ostream 26 OSTREAM& operator<< ( OSTREAM &, const List<T> &);
66 void insert (
const T&,
int (*cmpf)(
const T&,
const T& ) );
67 void insert (
const T&,
int (*cmpf)(
const T&,
const T& ),
void (*insf)(
T&,
const T& ) );
75 void sort (
int (*) (
const T&,
const T& ) );
85 OSTREAM& operator<< ( OSTREAM & os, const List<T> &
l );
110 void remove(
int moveright );
144 bool find (
const List<T> & F,
const T& t,
int (*ecmpf)(
const T&,
const T& ));
bool find(const List< T > &, const T &t)
ListIterator< T > & operator=(const ListIterator< T > &)
T prod(const List< T > &)
ListItem< T > * getPrev()
List< T > Difference(const List< T > &, const List< T > &)
ListItem< T > & operator=(const ListItem< T > &)
List< T > & operator=(const List< T > &)
int operator==(const List< T > &, const List< T > &)
void print(OSTREAM &) const
List< T > Union(const List< T > &, const List< T > &)
ListItem< T > * getNext()
ListItem(const ListItem< T > &)
void sort(int(*)(const T &, const T &))