🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #1227

Help needed in TEMPLATES ???

#1227
From: S. R. Viswanathan
Date: Sun, 13 Dec 1992 21:03
43 lines
2399 bytes
Hi,

Can someone help me with this problem in Borland C++ 3.0 ?

I'm using the BI_QueusAsDoubleList template and it's iterator template
BI_QueueAsDoubleListIterator....I want to be able to do a non-destructive
iteration of the list and then do a selective deletion.

[I'm able to insert items into the list using the "put()" function...
but not able to delete items...I can only do a destructive iteration using 
the "get()" function...which also removes the item from the list.]

If it's not possible using this particular ADT template class...Can you
suggest any other template which will achieve this functionality ?

Any useful pointers and suggestions are most welcome...Please reply
to me directly if possible..Thanx...


- Vishy


<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
  Internet: 			       <^>     Yellnet:  
     srvishy@picasso.ocis.temple.edu   <^>          (215) 787-1043 (Work)
     srviswa@astro.ocis.temple.edu     <^>          (215) 735-3563 (Home) 

  'T`(`'T`|_||) ^   'T` / | |  |       `T` n the beginning Man created God;
  (| (, | | ||\(_)   | (__| |_ |_       |  and in the image of Man
				       ,|, created he him.
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->

--
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
  Internet: 			       <^>     Yellnet:  
     srvishy@picasso.ocis.temple.edu   <^>          (215) 787-1043 (Work)
     srviswa@astro.ocis.temple.edu     <^>          (215) 735-3563 (Home) 

  'T`(`'T`|_||) ^   'T` / | |  |       `T` n the beginning Man created God;
  (| (, | | ||\(_)   | (__| |_ |_       |  and in the image of Man
				       ,|, created he him.
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
Technical Details
Message-ID: <1992Dec13.210327.23611@cronkite.ocis.temple.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!wupost!sdd.hp.com!think.com!ames!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!dsinc!netnews.upenn.edu!cronkite.ocis.temple.edu!picasso.ocis.temple.edu!srvishy

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!wupost!sdd.hp.com!think.com!ames!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!dsinc!netnews.upenn.edu!cronkite.ocis.temple.edu!picasso.ocis.temple.edu!srvishy
From: srvishy@picasso.ocis.temple.edu (S. R. Viswanathan)
Newsgroups: comp.std.c++
Subject: Help needed in TEMPLATES ???
Message-ID: <1992Dec13.210327.23611@cronkite.ocis.temple.edu>
Date: 13 Dec 92 21:03:27 GMT
Sender: news@cronkite.ocis.temple.edu (NetWork News (readnews))
Organization: Temple University
Lines: 43
X-Newsreader: Tin 1.1 PL5