Reference counted smart pointer class implementing shared ownership
(Using Visual Studio 2010) I'm trying to create a shared_ptr of an existing class in my project (class was written …
c++ c++11 shared-ptr visual-c++-2010 make-sharedI'm trying to wrap my head around the new idioms for C++11. It seems that with shared_ptr at least, …
c++ c++11 shared-ptrIn the book The C++ Standard Library at page 91 I have read this about shared_from_this(): The problem is …
c++ constructor shared-ptrAre there any downsides with using make_shared<T>() instead of using shared_ptr<T>(new …
c++ boost shared-ptrI need to do something like this more than often: AsyncOperation * pAsyncOperation = new AsyncOperation(); auto bindOperation = std::bind(&AsyncOperation::…
c++ c++11 std shared-ptr stdbindRecently I started at C++11. I studied about weak_ptr. There exist two ways of getting raw pointer. lock() function …
c++ c++11 shared-ptr smart-pointers weak-ptrWhat are the equivalent uses of each smart pointer in comparison to similar (but not limited to) some advanced techniques …
c++ shared-ptr unique-ptr auto-ptr weak-ptrOK, I started using shared-pointers and pass shared-pointers as much as possible. No conversion to raw pointers anymore. This works …
c++ this this-pointer shared-ptrI have heard that auto pointers own their object whereas shared pointers can have many objects pointing to them. Why …
c++ shared-ptr smart-pointers auto-ptrI've been reading quite a number of discussions about performance issues when smart pointers are involved in an application. One …
c++ shared-ptr