Reference counted smart pointer class implementing shared ownership
When comparing two variants of pointers—classic vs. shared_ptr—I was surprised by a significant increase of the running …
c++ performance compiler-construction shared-ptrI'm using reset() as a default value for my shared_pointer (equivalent to a NULL). But how do I check …
c++ boost shared-ptr smart-pointersCan boost::shared_ptr release the stored pointer without deleting it? I can see no release function exists in the …
c++ boost shared-ptrI have a few containers in a class, for example, vector or map which contain shared_ptr's to objects living …
c++ constants shared-ptrI am trying to keep a list of connected clients in asio. I have adapted the chat server example from …
c++ boost shared-ptr c++-faqI would like to enable support for C++0x in GCC with -std=c++0x. I don't absolutely necessarily need …
c++ boost stl c++11 shared-ptrFor example, there is a function that finds an object and returns shared_ptr if object is found, and must …
c++ shared-ptr smart-pointers weak-ptrI found some code using std::shared_ptr to perform arbitrary cleanup at shutdown. At first I thought this code …
c++ c++11 shared-ptrI've been thinking about using shared pointers, and I know how to implement one myself--Don't want to do it, so …
c++ shared-ptr tr1Possible Duplicate: How to release pointer from boost::shared_ptr? A function of my interface returns a pointer to an …
c++ boost shared-ptr