9 Dec
2009
9 Dec
'09
1:21 p.m.
Hi forum members, I want to use boost's shared_ptr class for the connection pool class that i am writing. However, i have a requirement to delete the connection object (which is going to be the shared-ptr) explicitly based on certain checks like validity and expiry etc. If I store the shared_ptr, I want to know how to delete this explicitly from the stl container. According to my understanding shared_ptrs cannot be 'delete'd. So, how to achieve this...? Thanx in advance and regards, RV -- View this message in context: http://old.nabble.com/how-to-delete-references-to-objects-from-a-container..... Sent from the Boost - Users mailing list archive at Nabble.com.