From a07d430f6f346e7741ced872cf1321977071d856 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:56:10 +0000 Subject: [PATCH] lilypond-0.1.11 --- flower/include/plist.tcc | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/flower/include/plist.tcc b/flower/include/plist.tcc index 07c1a0118f..5ce6c2446c 100644 --- a/flower/include/plist.tcc +++ b/flower/include/plist.tcc @@ -1,9 +1,19 @@ +/* + plist.tcc -- implement Pointer_list + + source file of the Flower Library + + (c) 1997 Han-Wen Nienhuys +*/ + + +#ifndef PLIST_TCC +#define PLIST_TCC + #include "plist.hh" -#define PL_INSTANTIATE(a) class Link_list; \ +#define POINTERLIST_INSTANTIATE(a) class Pointer_list;\ template class PCursor; -#define IPL_INSTANTIATE(a) PL_INSTANTIATE(a); \ - template class Pointer_list template void @@ -16,13 +26,4 @@ Pointer_list::junk() } } -template -PCursor -Link_list::find (T what) const -{ - PCursor i (*this); - for (; i.ok(); i++) - if (i.ptr() == what) - break; - return i; -} +#endif // PLIST_TCC -- 2.39.5