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