-// -*-c++-*-
+/*
+ list.icc -- implement List inline functions
-#ifndef LIST_INL
-#define LIST_INL
+ source file of the Flower Library
+
+ (c) 1996, 1997--1999
+ Jan Nieuwenhuizen <janneke@gnu.org>
+ Han-Wen Nienhuys <hanwen@cs.uu.nl>
+*/
+
+
+#ifndef LIST_ICC
+#define LIST_ICC
template<class T>
inline
inline void
List<T>::remove (Cursor<T> me)
{
- if ( me.ok())
+ if (me.ok())
{
Link<T> *lp = me.pointer();
lp->remove (*this);
inline Cursor<T>
List<T>::top() const
{
- return Cursor<T>( *this, top_);
+ return Cursor<T>(*this, top_);
}
inline Cursor<T>
List<T>::bottom() const
{
- return Cursor<T>( *this, bottom_);
+ return Cursor<T>(*this, bottom_);
}
#endif
+