Search code examples
C++ primer 5 edition: count reference and underlying pointers...


c++c++11shared-ptr

Read More
Is using shared_ptr after reset undefined behaviour?...


c++shared-ptrsmart-pointersundefined-behavior

Read More
Overload resolution for pointer to derived class...


c++shared-ptroverload-resolution

Read More
Does std::shared_ptr<X> have a copy constructor?...


c++c++11shared-ptrcopy-constructor

Read More
Can smart pointers be implicitly used as pointers?...


c++c++11shared-ptr

Read More
C++ std::shared_ptr usage and information...


c++g++shared-ptr

Read More
Why does the shared pointer does not delete memory?...


c++c++11shared-ptr

Read More
What is the advantage of a unique_ptr over a shared_ptr...


c++shared-ptrsmart-pointersunique-ptr

Read More
Initializing std::shared_ptr with std::make_shared having an std::array as argument...


c++c++11stdshared-ptr

Read More
what if I ignore the return value of a function with shared_ptr return type...


c++return-valueshared-ptrraii

Read More
Passing shared_ptr to lambda by value leaks memory...


c++lambdashared-ptr

Read More
Unique ptr move ownership to containing object's method...


c++boost-asioshared-ptrunique-ptr

Read More
How to wrap a raw pointer into a shared_ptr and prevent shared_ptr from deleting the object?...


c++shared-ptr

Read More
How to convert from std::shared_ptr to std::unique_ptr?...


c++memory-managementshared-ptrsmart-pointersunique-ptr

Read More
how to block usage of std::make_shared<T>...


c++classc++14shared-ptrmake-shared

Read More
About "circular reference", I used weak_ptr but memory leak still happened...


c++shared-ptrsmart-pointerscircular-referenceweak-ptr

Read More
What is going on: C++ std::move on std::shared_ptr increases use_count?...


c++macosshared-ptrrvalue-reference

Read More
How can I get around this "Network connection aborted by local system" using Boost Asio wi...


c++boostboost-asioshared-ptr

Read More
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
BackNext