|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-02-24 11:27:07
I'd like to be able to stick all the generated code for using
get_deleter<X>(sp), for a given X, on one side of a shared library
boundary. The closest thing I've been able to find in the public
interface is:
my_get_deleter(shared_ptr<void>(sp))
but that incurs reference-counting, at the very least. I realize this
is somewhat of a low-level consideration, but I wonder if it makes
sense to expose the shared_ptr's shared_count?
Thanks for listening,
Dave
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk