#include "plist.hh" #define PL_instantiate(a) template class Pointer_list; \ template class PCursor; #define IPL_instantiate(a) PL_instantiate(a); \ template class IPointer_list template IPointer_list::~IPointer_list() { PCursor c( *this ); while (c.ok()) { delete c.remove_p(); } } template PCursor Pointer_list::find(T what ) const { PCursor i(*this); for (; i.ok(); i++) if (i.ptr() == what) break; return i; }