Search code examples
How is the std::tr1::shared_ptr implemented?...


c++shared-ptrtr1

Read More
swap the content of 2 shared_ptr...


c++shared-ptr

Read More
To what degree does std::shared_ptr ensure thread-safety?...


c++c++11thread-safetyshared-ptrsmart-pointers

Read More
How the bool operator of std::shared_ptr is trrigered in the expression(i.e. `bool is_empty = shared...


c++c++14shared-ptrsmart-pointers

Read More
Why is creating shared_ptr from unique_ptr of array not allowed anymore?...


c++c++17shared-ptrsmart-pointerslanguage-design

Read More
Why isn't there a std::shared_ptr<T[]> specialisation?...


c++c++11shared-ptrsmart-pointerslanguage-design

Read More
Can you make a std::shared_ptr manage an array allocated with new T[]?...


c++c++11shared-ptrsmart-pointers

Read More
What does this shared_ptr snippet say?...


c++shared-ptr

Read More
Does C++11 unique_ptr and shared_ptr able to convert to each other's type?...


c++c++11shared-ptrunique-ptr

Read More
When is std::weak_ptr useful?...


c++c++11shared-ptrweak-ptrc++-faq

Read More
C++ boost::asio bad_weak_ptr when using shared_from_this...


c++boostboost-asioshared-ptr

Read More
shared_from_this has empty _M_weak_this even after ownership by std::shared_ptr...


c++c++11vectorstlshared-ptr

Read More
Why is std::make_shared<T> not a static function of std::shared_ptr<T>, i.e. std::shared...


c++shared-ptrlanguage-design

Read More
Why is shared_ptr<void> legal, while unique_ptr<void> is ill-formed?...


c++shared-ptrsmart-pointersunique-ptr

Read More
std::move and std::shared_ptr argument passed by value...


c++moveshared-ptrmove-semantics

Read More
bad weak pointer after deserializing object that has a shared pointer to base...


c++serializationboostshared-ptr

Read More
Is there a usage in singlethreaded code where std::shared_ptr is more appropriate than std::unique_p...


c++c++11stdshared-ptrsmart-pointers

Read More
what is the difference between process(sp) and process(shared_ptr<int>(sp))?...


c++shared-ptr

Read More
In c++ how to hide that a class uses shared_ptr to abstract class in it's private members...


c++shared-ptr

Read More
How to write a custom deleter with a templateized QSharedPointer...


c++qtshared-ptrqsharedpointer

Read More
How can I delete a resource owned by shared pointer from the vector C++...


c++shared-ptr

Read More
Why do I get a heap buffer overflow simply by declaring a shared_ptr member variable?...


c++shared-ptrheap-corruptionaddress-sanitizer

Read More
overhead for moving std::shared_ptr?...


c++moveshared-ptroverhead-minimization

Read More
Is there a way to share part of a shared_ptr in different ranges?...


c++c++17shared-ptrunique-ptr

Read More
Can a only-movable object be made into a shared_ptr?...


c++shared-ptrpackaged-task

Read More
Pybind11 - Bound class method returns new class instance, rather than editing in-place...


pythonc++memory-managementshared-ptrpybind11

Read More
Initialise std::shared_ptr using value initialisation...


c++c++14shared-ptrsmart-pointersvalue-initialization

Read More
What are the uses of get() member from the shared_ptr class?...


c++c++11shared-ptrsmart-pointers

Read More
Is it valid to static_cast 'weak_ptr<SomeThing>*' to 'void*' then back to &#39...


c++luashared-ptrweak-ptr

Read More
When should I use a mutex with std::shared_ptr in C++ multithreading?...


c++multithreadingshared-ptr

Read More
BackNext