Boost Users :
Subject: [Boost-users] how to delete references to objects from a container...
From: rv_nath (rv_nath_at_[hidden])
Date: 2009-12-09 08:21:41
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
Thanx in advance and regards,
-- View this message in context: http://old.nabble.com/how-to-delete-references-to-objects-from-a-container...-tp26710061p26710061.html Sent from the Boost - Users mailing list archive at Nabble.com.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net