summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-12-21 20:54:26 +0000
committernw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-12-21 20:54:26 +0000
commit8e25a235dec31c615d34b68941221b619c56893f (patch)
tree1d8f7f3451fb48b01f8f737a98e98fcfa0182600
parent732502f1fc5dbe22ea5721f12581a8ca75b13acd (diff)
downloadATCD-8e25a235dec31c615d34b68941221b619c56893f.tar.gz
Removed unused codes.
-rw-r--r--ace/Containers.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/ace/Containers.h b/ace/Containers.h
index 07bbd2fb543..ebf4fd9beb0 100644
--- a/ace/Containers.h
+++ b/ace/Containers.h
@@ -199,37 +199,6 @@ private:
// Current value of the item in this node.
};
-#if 0
-// Forward declaration.
-template <class T> class ACE_Double_Linked_List;
-template <class T> class ACE_Double_Linked_List_Iterator;
-
-template <class T>
-class ACE_DNode
-{
-// = TITLE
-// Implementation element in a Double-linked List.
-public:
- friend class ACE_Double_Linked_List<T>;
- friend class ACE_Double_Linked_List_Iterator<T>;
-
- T *item (void);
-protected:
- ACE_DNode (const T &i, ACE_DNode<T> *n = 0, ACE_DNode<T> *p = 0);
- ACE_DNode (const ACE_DNode<T> &i);
-
- ~ACE_DNode (void);
-
- T item_;
-
- ACE_DNode *prev_;
- // Pointer to previous element in the list.
-
- ACE_DNode *next_;
- // Pointer to next element in the list.
-};
-#endif /* 0 */
-
template <class T>
class ACE_Unbounded_Stack
{
@@ -613,18 +582,6 @@ public:
void dump (void) const;
// Dump the state of an object.
-#if 0
- T *find (const T &item);
- // Locate the DNode address that contains the item. Return
- // an address if succeed, 0 otherwise.
-
- T *remove (const T &item);
- // This function will iterate thru the double-linked list and remove
- // it from the list. Return Node address if succeed, 0 otherwise.
- // Notice that this method will *not* free the internal node. The
- // node is simple unlinked from the list.
-#endif /* 0 */
-
int remove (T *n);
// Use DNode address directly.