I'm not sure what Arc::AutoPtr
is, because I couldn't find anything like that in the ACE documentation. However if it's the same as ACE_Refcounted_Auto_Ptr
then the corresponding typedef for Poco would probably be typedef Poco::SharedPtr<ResultSet> QueryResult;
. But it's not clear from the docs whether the SharedPtr in Poco implements a thread safe reference counting, so you have to be careful of that.
Poco::AutoPtr
is actually an intrusive smart pointer which requires support from the pointed type (similar to boost::intrusive_ptr
).