#include "plist.hh"
#define PL_instantiate(a) template class Link_list; \
template class PCursor;
#define IPL_instantiate(a) PL_instantiate(a); \
template class Pointer_list
template
Pointer_list::~Pointer_list()
{
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;
}