flower-1.0.25
[lilypond.git] / flower / plist.tcc
blob1dea8cefc123354cf27221f0a2bdd45413233acc
1 #include "plist.hh"
3 template<class T>
4 IPointerList<T>::~IPointerList()
6     PCursor<T> c( *this );
7     while (c.ok()) {
8         delete c.get();
9     }
12 template<class T>
13 PCursor<T> 
14 PointerList<T>::find(T what ) const
16     PCursor<T> i(*this);
17     for (; i.ok(); i++)
18         if (i.ptr() == what)
19            break;
20     return i;