#ifndef __THINLISTDOUBLE_H__ #define __THINLISTDOUBLE_H__ template struct ThinListDouble { public: // Constructors ThinListDouble(); ThinListDouble(const T& aobject, ThinListDouble* aprevious = 0, ThinListDouble* anext = 0); ThinListDouble(const ThinListDouble& source, ThinListDouble* aprevious = 0); ~ThinListDouble(); // Insert functions void PushToBack(const T& entry); void InsertAfter(const T& entry); void InsertBefore(const T& entry); public: ThinListDouble* previous; ThinListDouble* next; T object; }; #include "ThinListDouble.inl" #endif