/* killing-cons.tcc -- declare Killing_cons source file of the GNU LilyPond music typesetter (c) 1999--2006 Han-Wen Nienhuys */ #ifndef KILLING_CONS_TCC #define KILLING_CONS_TCC #include "cons.hh" template Killing_cons::~Killing_cons () { delete Cons::car_; } template void copy_killing_cons_list (Cons_list &dest, Cons *src) { for (; src; src = src->next_) { T *t = new T (*src->car_); dest.append (new Killing_cons (t, 0)); } } template void clone_killing_cons_list (Cons_list &dest, Cons *src) { for (; src; src = src->next_) { T *t = src->car_->clone (); dest.append (new Killing_cons (t, 0)); } } #endif /* KILLING_CONS_TCC */