Search code examples
Problems understanding the use of shared_ptr<void> in std::map...


c++shared-ptrstdmap

Read More
How do I cast a shared_ptr from one parent class to another parent class?...


c++inheritanceshared-ptrsmart-pointers

Read More
Can I safely replace boost::shared_array<T> with std::shared_ptr<T[]>?...


boostc++14shared-ptr

Read More
How does a weak_ptr prevent cyclic references?...


c++c++11shared-ptrweak-ptrcyclic-reference

Read More
On shared_ptr use_count of resource pool C++ std::shared_ptr...


c++mutexshared-ptrpool

Read More
segfaults in C++ when using std::shared_ptr...


c++pointersfunction-pointersshared-ptrsmart-pointers

Read More
SIGSEGV when trying to solve large mazes with A*...


c++pointerssegmentation-faultshared-ptrsmart-pointers

Read More
How can I use std::enable_shared_from_this in both super and subclass?...


c++shared-ptrmultiple-inheritanceweak-ptrenable-shared-from-this

Read More
How do I call ::std::make_shared on a class with only protected or private constructors?...


c++c++11shared-ptr

Read More
Why std::shared_ptr calls destructors from base and derived classes, where delete calls only destruc...


c++shared-ptr

Read More
C++ Primer 5th Ed - Stanley Lipmann: Question on shared_ptr.unique() used in conjunction with shared...


c++heap-memoryc++20dynamic-memory-allocationshared-ptr

Read More
Weak pointer library implementation C++...


c++shared-ptrsmart-pointersweak-ptrrefcounting

Read More
Why would I std::move an std::shared_ptr?...


c++c++11shared-ptrsmart-pointersmove-semantics

Read More
Casting smartpointers without RTTI C++...


c++castingembeddedshared-ptrrtti

Read More
LLDB: Set breakpoint on std::shared_ptr<T> destructor...


c++stdshared-ptrsmart-pointerslldb

Read More
Future is not returning reference to value in C++...


c++multithreadingc++11shared-ptr

Read More
boost, shared ptr Vs weak ptr? Which to use when?...


c++memory-managementboostshared-ptrweak-ptr

Read More
boost::shared_ptr boost::mutex and copy constructor...


c++boostmutexshared-ptrcopy-constructor

Read More
Clarification on Properly Shutting Down a Boost Beast Server...


c++boost-asioshared-ptrdestructorboost-beast

Read More
C++11 unordered_set with std::owner_less-like hashing...


c++c++11stlshared-ptrunordered-map

Read More
How to cast my custom shared pointer in C++...


c++shared-ptrsmart-pointers

Read More
C++ shared_ptr from *this, parent and derived classes...


c++shared-ptr

Read More
When to use virtual destructors?...


c++polymorphismshared-ptrvirtual-destructor

Read More
How to get the raw pointer of a shared_ptr in C++17?...


c++c++17shared-ptr

Read More
how can I print a shared_ptr class?...


c++printingshared-ptrvoid

Read More
boost asio datetime server example and using std::async is not working...


c++asynchronousboostboost-asioshared-ptr

Read More
Difference in make_shared and normal shared_ptr in C++...


c++c++11shared-ptr

Read More
Difference between `const shared_ptr<T>` and `shared_ptr<const T>`?...


c++boostconstantsshared-ptr

Read More
C++ runtime error with shared_ptr and builder pattern...


c++shared-ptrbuilder-pattern

Read More
When are smart pointers' memory cleared on calling execv() in a program?...


c++memoryshared-ptrsmart-pointersexecv

Read More
BackNext