ns-allinone-2.35/rap/raplist.cc
List::~List()
{ 
  while (Remove() != NULL)
    ;	 // delete all the List elements
}
//----------------------------------------------------------------------
// List::~List
//	Prepare a List for deallocation.  If the List still contains any 
//	ListElements, de-allocate them.  However, note that we do *not*
//	de-allocate the "items" on the List -- this module allocates
//	and de-allocates the ListElements to keep track of each item,
//	but a given item may be on multiple Lists, so we can't
//	de-allocate them here.
//----------------------------------------------------------------------
:~List
Prepare a List for deallocation.  If the List still contains any
ListElements, de-allocate them.
: ~List Prepare a List for deallocation . If the List still contains any ListElements de - allocate them .
List::~List()
{ 
  while (Remove() != NULL)
    ;	 
}
List :: ~ List ( ) { while ( Remove ( ) != NULL ) ; }
List::~List
Prepare a List for deallocation.
List :: ~List Prepare a List for deallocation .
// delete all the List elements