Search code examples
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
Why does the copy constructor is not called?...

c++shared-ptrsmart-pointerscopy-constructordefault-constructor

Read More
Is it required to reset the shared_ptr object initialized in a function(local variable)? and global ...

c++shared-ptrsmart-pointers

Read More
Wrap dynamic array with shared_ptr by make_shared...

c++arraysshared-ptrsmart-pointers

Read More
std::shared_ptr<T[]> VS std::array<T, size>/std::vector<T>...

c++c++17stdshared-ptr

Read More
Passing shared pointers as arguments...

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

Read More
C++ API design shared_ptr and calling into functions...

c++shared-ptrapi-design

Read More
Does a temporary shared_ptr returned by value have the counter incremented?...

c++shared-ptrreturn-value-optimization

Read More
Why can't a weak_ptr be constructed from a unique_ptr?...

c++shared-ptrsmart-pointersunique-ptrweak-ptr

Read More
Call Operator() for std::shared_ptr instance...

c++c++11shared-ptr

Read More
can't use assignment to construct an object using derived shared_ptr...

c++shared-ptr

Read More
How to check if a shared_ptr type is of <type> statically?...

c++templatesshared-ptrsmart-pointersc++-concepts

Read More
Weird behavior when using std::move shared_ptr with conditional operator...

c++shared-ptrmove-semanticsconditional-operatormove-constructor

Read More
c++ 14 (VS 2015) shared_ptr with protected inheritance - no suitable user defined conversion...

c++c++14shared-ptrprotected

Read More
Can you require certain behaviour whenever a shared pointer is created?...

c++graphshared-ptr

Read More
return vector<Foo> or shared_ptr<vector<Foo>>?...

c++boostvectorc++11shared-ptr

Read More
How to get component from template method in ECS?...

c++templatescomponentsshared-ptr

Read More
BackNext