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 _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost