tired of the warning messages. */
Cursor( const Cursor<T>& cursor );
-
+
+ T& thing();
/// return current T
- T& operator *();
- operator T() { return *(*this); }
+ T& operator *() { return thing(); }
+ operator T() { return thing(); }
Cursor<T> operator =( const Cursor<T>& c );
/// make cursor with #no# items back
*/
-
-
-
-
/*
comparisons.
*/
#include "list.hh"
#include "cursor.inl"
-#endif // __CURSOR_HH //
+#endif // CURSOR_HH