allow creation of end of seq iterator

This commit is contained in:
Jeff Hill
2001-09-07 22:59:26 +00:00
parent c92a488c82
commit 3fbee94fde

View File

@@ -113,6 +113,7 @@ private:
template <class T>
class tsDLIterConstBD {
public:
tsDLIterConstBD ();
bool valid () const;
bool operator == (const tsDLIterConstBD<T> &rhs) const;
bool operator != (const tsDLIterConstBD<T> &rhs) const;
@@ -137,6 +138,7 @@ private:
template <class T>
class tsDLIterBD {
public:
tsDLIterBD ();
bool valid () const;
bool operator == ( const tsDLIterBD<T> & rhs ) const;
bool operator != ( const tsDLIterBD<T> & rhs ) const;
@@ -462,6 +464,10 @@ template <class T>
inline tsDLIterConstBD<T>::tsDLIterConstBD ( const T *pInitialEntry ) :
pEntry ( pInitialEntry ) {}
template <class T>
inline tsDLIterConstBD<T>::tsDLIterConstBD () :
pEntry ( 0 ) {}
template <class T>
inline bool tsDLIterConstBD<T>::valid () const
{
@@ -552,6 +558,10 @@ template <class T>
inline tsDLIterBD<T>::tsDLIterBD ( T * pInitialEntry ) :
pEntry ( pInitialEntry ) {}
template <class T>
inline tsDLIterBD<T>::tsDLIterBD () :
pEntry ( 0 ) {}
template <class T>
inline bool tsDLIterBD<T>::valid () const
{