diff --git a/src/libCom/cxxTemplates/tsDLList.h b/src/libCom/cxxTemplates/tsDLList.h index fdaa468bd..d4c866bdf 100644 --- a/src/libCom/cxxTemplates/tsDLList.h +++ b/src/libCom/cxxTemplates/tsDLList.h @@ -1,7 +1,7 @@ /* * $Id$ * - * type safe doubly linked list templates + * type safe doubly linked list templates * * Author Jeffrey O. Hill * johill@lanl.gov @@ -43,18 +43,14 @@ template class tsDLBwdIter; // deprecated // // class tsDLNode // -// -// class tsDLNode -// -// a node in a doubly linked list -// -// NOTE: class T must derive from tsDLNode +// a node in a doubly linked list containing entries of type T +// ( class T must publicly derive from class tsDLNode ) // template class tsDLNode { public: - tsDLNode(); - tsDLNode operator = (const tsDLNode &) const; + tsDLNode (); + tsDLNode operator = ( const tsDLNode & ) const; private: T *pNext; T *pPrev; @@ -64,14 +60,14 @@ private: friend class tsDLIter; // deprecated friend class tsDLFwdIter; // deprecated friend class tsDLBwdIter; // deprecated + tsDLNode ( const tsDLNode & ); }; // // class tsDLList // -// a doubly linked list -// -// NOTE: class T must derive from tsDLNode +// a doubly linked list containing entries of type T +// ( class T must publicly derive from class tsDLNode ) // template class tsDLList { @@ -110,7 +106,7 @@ private: // // class tsDLIterConstBD // -// bi-directional const doubly linked list iterator +// bi-directional iterator for a const doubly linked list // template class tsDLIterConstBD { @@ -135,7 +131,7 @@ private: // // class tsDLIterBD // -// bi-directional doubly linked list iterator +// bi-directional iterator for a doubly linked list // template class tsDLIterBD {