summaryrefslogtreecommitdiff
path: root/ace/Containers_T.h
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>1999-04-01 23:23:10 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>1999-04-01 23:23:10 +0000
commit7fa2478432903b9a8ceeb13b02f2946ae1c64dbf (patch)
tree92f31e65c54fd4ddef14531a8384b12374e2e5ab /ace/Containers_T.h
parent84b9c202c5e9fb91a38c74e5e78f970655508c59 (diff)
downloadATCD-7fa2478432903b9a8ceeb13b02f2946ae1c64dbf.tar.gz
See my ChangeLog entry from 1 April 1999.
Diffstat (limited to 'ace/Containers_T.h')
-rw-r--r--ace/Containers_T.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/ace/Containers_T.h b/ace/Containers_T.h
index d16250bd4aa..ebefca4e561 100644
--- a/ace/Containers_T.h
+++ b/ace/Containers_T.h
@@ -580,6 +580,14 @@ protected:
// Remember where we are.
ACE_Double_Linked_List<T> &dllist_;
+
+private:
+ ACE_Double_Linked_List_Iterator (const ACE_Double_Linked_List_Iterator &);
+ ACE_Double_Linked_List_Iterator &
+ operator= (const ACE_Double_Linked_List_Iterator & rhs);
+ // Explicitly disallow use of implicitly generated copy
+ // constructor and assignment operator to prevent inadvertent
+ // memory leaks.
};
template <class T>
@@ -829,10 +837,10 @@ public:
// = STL styled iteration, compare, and reference functions.
- ACE_Unbounded_Set_Iterator<T> operator++ (void);
+ ACE_Unbounded_Set_Iterator<T> operator++ (int);
// Postfix advance.
- ACE_Unbounded_Set_Iterator<T>& operator++ (int);
+ ACE_Unbounded_Set_Iterator<T>& operator++ (void);
// Prefix advance.
T& operator* (void);
@@ -846,6 +854,13 @@ public:
// Declare the dynamic allocation hooks.
private:
+ // ACE_Unbounded_Set_Iterator (const ACE_Unbounded_Set_Iterator<T> &)
+ ACE_Unbounded_Set_Iterator<T> &
+ operator= (const ACE_Unbounded_Set_Iterator<T> & rhs);
+ // Explicitly disallow use of implicitly generated copy
+ // constructor and assignment operator to prevent inadvertent
+ // memory leaks.
+
ACE_Node<T> *current_;
// Pointer to the current node in the iteration.