Reference counted smart pointer class implementing shared ownership
Since C++11, because of several reasons, developers tend to use smart pointer classes for dynamic lifetime objects. And with those …
c++ c++11 shared-ptr smart-pointers make-sharedI have a test that works fine with a raw pointer, but I'm having trouble getting it work with a …
c++ shared-ptr googlemockI have a question about std::unique_ptr and std::shared_ptr. I know there are loads of questions about …
c++ c++11 shared-ptr smart-pointers unique-ptrBI am using enable_shared_from_this in my code, and I am not sure if its usage is correct. …
c++ c++11 shared-ptr multiple-inheritance enable-shared-from-thisThe cplusplus.com shared_ptr page calls out a distinction between an empty std::shared_ptr and a null shared_…
c++ c++11 shared-ptrI'm working on a section of code that has many possible failure points which cause it to exit the function …
c++ raii shared-ptrI have working in large application which contain c and cpp. The all files saved as cpp extension but the …
c++ boost shared-ptr scoped-ptrBeen trying to understand shared pointer for a few days now and it feels like I cant seem to get …
c++ qt pointers shared-ptr qsharedpointerclass MyClass { public: MyClass(std::weak_ptr<MyClass> parent){} } i want to do this: auto newInstance = std::make_…
c++ casting null shared-ptr weak-ptrI have functions that take in std::shared_ptr as an argument so I am forced to use std::shared_…
c++ c++11 shared-ptr