]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/list.icc
release: 0.1.61
[lilypond.git] / flower / include / list.icc
index f77a2018361d3f407aa3a4877c4d9bf16bba494d..7192c4d9f6749353ba2e52c1ad7fa22095a223a5 100644 (file)
@@ -1,7 +1,16 @@
-// -*-c++-*-
+/*
+  list.icc -- implement List inline functions
 
-#ifndef LIST_INL
-#define LIST_INL
+  source file of the Flower Library
+
+  (c) 1996, 1997--1998
+  Jan Nieuwenhuizen <jan@digicash.com>
+  Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
+
+#ifndef LIST_ICC
+#define LIST_ICC
 
 template<class T>
 inline
@@ -22,11 +31,11 @@ template<class T>
 inline void
 List<T>::remove (Cursor<T> me)
 {
-  if ( me.ok())
+  if (me.ok())
     {
-       Link<T> *lp = me.pointer();     
-       lp->remove (*this);
-       delete lp;
+      Link<T> *lp = me.pointer();      
+      lp->remove (*this);
+      delete lp;
       size_--;
     }
 }
@@ -42,7 +51,7 @@ template<class T>
 inline Cursor<T>
 List<T>::top() const
 {
-  return Cursor<T>( *this, top_);
+  return Cursor<T>(*this, top_);
 }
 
 
@@ -50,8 +59,9 @@ template<class T>
 inline Cursor<T>
 List<T>::bottom() const
 {
-  return Cursor<T>( *this, bottom_);
+  return Cursor<T>(*this, bottom_);
 }
 
 
 #endif
+