Search code examples
Store libusb devices in easy-access container, without ownership...

c++shared-ptr

Read More
Appending an existing shared_ptr to a vector of shared_ptr...

c++c++11vectorshared-ptr

Read More
Misaligned pointer use with std::shared_ptr<NSDate> dereference...

nsdateshared-ptrobjective-c++ubsanmanual-retain-release

Read More
Could shared_from_this be implemented without enable_shared_from_this?...

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

Read More
bad weak pointer when base and derived class both inherit from boost::enable_shared_from_this...

c++boostshared-ptrmultiple-inheritanceenable-shared-from-this

Read More
Why does enable_shared_from_this embed a weak pointer instead of embedding the reference counter dir...

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

Read More
Casting shared_ptr in initializer list...

c++inheritancecastingc++17shared-ptr

Read More
C++0x and Friend functions and boost::make_shared...

c++c++11shared-ptrfriendmake-shared

Read More
How to delete smart pointer to dynamically allocated object?...

c++memory-managementshared-ptrsmart-pointers

Read More
How to prevent deletion of a raw pointer that is used as shared pointer?...

c++shared-ptrc-apiraw-pointer

Read More
Object in smart pointer is not deleted after stack unwinding...

c++exceptionshared-ptrsmart-pointers

Read More
Function template to populate a vector of shared_ptr to Base & Derived objects...

c++templatesinheritanceshared-ptrstdvector

Read More
Most efficient safe way to cast std::map<int, std::shared_ptr<Base>> to std::map<int,...

c++castingc++17shared-ptr

Read More
Why do we need to pass const shared pointer as reference?...

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

Read More
Convert a shared_ptr to regular a pointer...

c++c++11pointersshared-ptr

Read More
Assigning existing values to smart-ptrs?...

c++stdshared-ptrtr1

Read More
Will the specialized shared_ptr::swap() function be used if I use std::swap on a whole class?...

c++classshared-ptrswap

Read More
How does shared_ptr<void> know which destructor to use?...

c++shared-ptrvoid

Read More
how to extract data from refernce of shared_ptr<T&>...

c++c++14shared-ptr

Read More
Compile error when try to create singleton using shared_ptr...

multithreadingc++17threadpoolshared-ptr

Read More
shared pointer isn't working when casting?...

c++shared-ptr

Read More
Using copy-constructor in conjuction with std::make_shared...

c++pass-by-referenceshared-ptrcopy-constructormake-shared

Read More
When is enable_shared_from_this<S> useful?...

c++shared-ptrenable-shared-from-this

Read More
std::enable_shared_from_this; public vs private...

c++c++11shared-ptrprivate-inheritanceenable-shared-from-this

Read More
How does shared_ptr<T> detect that T derives from enable_shared_from_this<T>?...

c++booststdshared-ptrenable-shared-from-this

Read More
Trivial cases of shared_ptr and weak_ptr failing...

c++shared-ptrweak-ptrprivate-inheritanceenable-shared-from-this

Read More
Is it possible to remove elements from a vector of shared_ptr?...

c++vectorshared-ptr

Read More
error related to binding non-const lvalue to rvalue in constructor...

c++templatesshared-ptrrvalue

Read More
Why is shared_ptr counter incremented when passed as const reference to base class?...

c++c++11polymorphismshared-ptrsmart-pointers

Read More
Why is using a reference or unique pointer member of a class a bad thing?...

c++shared-ptrsmart-pointersunique-ptrauto-ptr

Read More
BackNext