2 killing-cons.tcc -- declare Killing_cons
4 source file of the GNU LilyPond music typesetter
6 (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef KILLING_CONS_TCC
11 #define KILLING_CONS_TCC
15 Killing_cons<T>::~Killing_cons ()
22 copy_killing_cons_list (Cons<T> *src)
26 for (; src; src = src->next_)
28 T *t = new T(*src->car_);
29 *kl.tail_ = new Killing_cons<T> (t, 0);
30 kl.tail_ = &(*kl.tail_)->next_;
38 clone_killing_cons_list (Cons<T> *src)
42 for (; src; src = src->next_)
44 T *t = src->car_->clone ();
45 *kl.tail_ = new Killing_cons<T> (t, 0);
46 kl.tail_ = &(*kl.pp)->next_;
53 #endif /* KILLING_CONS_TCC */