From 3fbee94fde995d087a77cce2712f7d46bcd611fe Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Fri, 7 Sep 2001 22:59:26 +0000 Subject: [PATCH] allow creation of end of seq iterator --- src/libCom/cxxTemplates/tsDLList.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/libCom/cxxTemplates/tsDLList.h b/src/libCom/cxxTemplates/tsDLList.h index 194a99e42..3c7ec36e2 100644 --- a/src/libCom/cxxTemplates/tsDLList.h +++ b/src/libCom/cxxTemplates/tsDLList.h @@ -113,6 +113,7 @@ private: template class tsDLIterConstBD { public: + tsDLIterConstBD (); bool valid () const; bool operator == (const tsDLIterConstBD &rhs) const; bool operator != (const tsDLIterConstBD &rhs) const; @@ -137,6 +138,7 @@ private: template class tsDLIterBD { public: + tsDLIterBD (); bool valid () const; bool operator == ( const tsDLIterBD & rhs ) const; bool operator != ( const tsDLIterBD & rhs ) const; @@ -462,6 +464,10 @@ template inline tsDLIterConstBD::tsDLIterConstBD ( const T *pInitialEntry ) : pEntry ( pInitialEntry ) {} +template +inline tsDLIterConstBD::tsDLIterConstBD () : + pEntry ( 0 ) {} + template inline bool tsDLIterConstBD::valid () const { @@ -552,6 +558,10 @@ template inline tsDLIterBD::tsDLIterBD ( T * pInitialEntry ) : pEntry ( pInitialEntry ) {} +template +inline tsDLIterBD::tsDLIterBD () : + pEntry ( 0 ) {} + template inline bool tsDLIterBD::valid () const {