$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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
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...-tp26710061p26710061.html Sent from the Boost - Users mailing list archive at Nabble.com.