diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-04-01 23:23:10 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-04-01 23:23:10 +0000 |
commit | 7fa2478432903b9a8ceeb13b02f2946ae1c64dbf (patch) | |
tree | 92f31e65c54fd4ddef14531a8384b12374e2e5ab /ace/Containers_T.cpp | |
parent | 84b9c202c5e9fb91a38c74e5e78f970655508c59 (diff) | |
download | ATCD-7fa2478432903b9a8ceeb13b02f2946ae1c64dbf.tar.gz |
See my ChangeLog entry from 1 April 1999.
Diffstat (limited to 'ace/Containers_T.cpp')
-rw-r--r-- | ace/Containers_T.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/ace/Containers_T.cpp b/ace/Containers_T.cpp index 6b8e51a7076..565900d6b64 100644 --- a/ace/Containers_T.cpp +++ b/ace/Containers_T.cpp @@ -1727,19 +1727,24 @@ ACE_Unbounded_Set_Iterator<T>::next (T *&item) } template <class T> ACE_Unbounded_Set_Iterator<T> -ACE_Unbounded_Set_Iterator<T>::operator++ (void) +ACE_Unbounded_Set_Iterator<T>::operator++ (int) { - //ACE_TRACE ("ACE_Unbounded_Set_Iterator<T>::operator++ ()"); + //ACE_TRACE ("ACE_Unbounded_Set_Iterator<T>::operator++ (int)"); ACE_Unbounded_Set_Iterator<T> retv (*this); + // postfix operator + this->advance (); return retv; } template <class T> ACE_Unbounded_Set_Iterator<T>& -ACE_Unbounded_Set_Iterator<T>::operator++ (int) +ACE_Unbounded_Set_Iterator<T>::operator++ (void) { - // ACE_TRACE ("ACE_Unbounded_Set_Iterator<T>::operator++ (int)"); + // ACE_TRACE ("ACE_Unbounded_Set_Iterator<T>::operator++ (void)"); + + // prefix operator + this->advance (); return *this; } |