Search code examples
State of underlying resource when a shared_ptr is created from the raw pointer?...

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

Read More
Differences between assignment constructor and others in C++...

c++constructorvariable-assignmentshared-ptr

Read More
Why can't use a inside pointer to initialize two difference shared_ptr?...

c++11shared-ptr

Read More
How does a shared_ptr handle copy to a pure virtual base class?...

c++inheritanceshared-ptr

Read More
How would one specify a custom deleter for a shared_ptr constructed with an aliasing constructor?...

c++shared-ptr

Read More
Should you use std::unique_ptr alongside std::function?...

c++shared-ptrunique-ptrstd-function

Read More
Initializing a member with type std::shared_ptr<B> of a class A with a pointer to class B in a...

c++c++11thisshared-ptrenable-shared-from-this

Read More
Is shared pointer thread-safety zero-cost?...

c++multithreadingthread-safetyshared-ptr

Read More
Using shared_from_this() without managed shared pointer in C++11...

c++pointersc++11stdshared-ptr

Read More
How to pass c++ function/lambda as none-type parameter to a typedef/using template?...

c++functiontemplatesshared-ptrusing

Read More
Why does the impl of shared_ptr ref count hold a pointer to the actual pointed type?...

c++gccshared-ptr

Read More
Pointing from a shared_ptr to a list yields memory error...

c++listshared-ptr

Read More
How to prove c++11 make_shared() can keep shared_ptr's control block alive even after its dtor?...

c++referenceshared-ptrweak-ptrmake-shared

Read More
Why doesn't the shared pointer aliasing constructor use pass-by-value semantics...

c++shared-ptr

Read More
How to correctly use smart pointers in OOP...

c++shared-ptrunique-ptr

Read More
Passing shared_ptr through 2 layers of methods?...

c++optimizationshared-ptr

Read More
Why can I convert 0 to an std::shared_ptr<T> but not 1?...

c++c++11pointersshared-ptrnullptr

Read More
Initialising std::shared_ptr<std::map<>> using braced-init...

c++c++11shared-ptrstdmaplist-initialization

Read More
Why std::shared_ptr control block need to hold a pointer to managed object with its correct type...

c++shared-ptrraiitr1

Read More
Wrapping shared pointer object with SWIG don't give access to class member functions...

pythonc++shared-ptrswigalliedvision

Read More
Should I use shared_ptr or unique_ptr...

c++c++11shared-ptrpimpl-idiomunique-ptr

Read More
static shared_ptr not keeping value across function calls...

c++exceptionstaticshared-ptr

Read More
Move Constructor and = operator for Shared Pointer...

c++moveshared-ptrsmart-pointers

Read More
`std::shared_ptr`: is not a valid template type argument for parameter `_Ty`...

c++shared-ptr

Read More
Return Base class shared pointer using derived class C++...

c++pointersinheritanceshared-ptrabstract-base-class

Read More
Is std::move of shared_ptr thread safe?...

c++c++11thread-safetymoveshared-ptr

Read More
In C++, how to correctly obtain a shared pointer to a vector , minimizing the number of copy constru...

c++vectorconstructorshared-ptrcopy-constructor

Read More
Is shared_ptr::unique() indicative that only one thread owns it?...

c++multithreadingshared-ptr

Read More
Thread-safety of reference count in std::shared_ptr...

c++thread-safetyshared-ptrstdatomicreference-counting

Read More
Question about the usage of shared_from_this() in practice...

c++c++11shared-ptrsmart-pointersenable-shared-from-this

Read More
BackNext