2 killing-cons.tcc -- declare Killing_cons
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
9 #ifndef KILLING_CONS_TCC
10 #define KILLING_CONS_TCC
15 Killing_cons<T>::~Killing_cons ()
22 copy_killing_cons_list (Cons_list<T> &dest, Cons<T> *src)
24 for (; src; src = src->next_)
26 T *t = new T (*src->car_);
27 dest.append (new Killing_cons<T> (t, 0));
33 clone_killing_cons_list (Cons_list<T> &dest, Cons<T> *src)
35 for (; src; src = src->next_)
37 T *t = src->car_->clone ();
38 dest.append (new Killing_cons<T> (t, 0));
42 #endif /* KILLING_CONS_TCC */