2 plist.inl -- part of flowerlib
4 (c) 1996 Han-Wen Nienhuys& Jan Nieuwenhuizen
14 PointerList<T>::~PointerList()
16 Cursor<T> next(*this);
17 for ( Cursor<T> c( *this ); c.ok(); c = next ) {
20 remove( c ); // PointerList::remove deletes the real data
26 PointerList_print( PointerList<T> const & l )
28 for (PCursor<T> c(l ); c.ok(); c++ )
34 PL_copy(PointerList<T*> &to,PointerList<T*> const&src)
36 for (PCursor<T*> pc(src); pc.ok(); pc++) {
38 T *p=new T(*q) ; // argh, how do i do this in ANSI-C++