Search code examples
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
Force the users to create an new instance by call a method which returns a shared_ptr of the class i...


c++c++11shared-ptr

Read More
Lifetime of return value in comma separated statements...


c++shared-ptrcomma-operator

Read More
Error using `make_shared<U[]>( std::size_t N )`...


c++shared-ptrsmart-pointersc++20

Read More
Boost shared_ptr object having problems with getting values...


c++boostboost-asioshared-ptr

Read More
Is alias construction of shared_ptr from void safe?...


c++shared-ptr

Read More
How to call derived destructor using my custom shared pointer class without virtual destructor?...


c++shared-ptr

Read More
Memory not freeing up std::list<std::shared_ptr<std::string>> C++...


c++c++11shared-ptr

Read More
What is the cyclic dependency issue with shared_ptr?...


c++shared-ptrweak-ptr

Read More
Question about the thread-safety of using shared_ptr...


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

Read More
binary search tree by smart pointers...


c++pointersbinary-search-treeshared-ptr

Read More
Zero sized array in struct managed by shared pointer...


c++memoryshared-ptr

Read More
Best way to store std::vector of derived class in a host parent class...


c++shared-ptrsmart-pointersunique-ptrderived-class

Read More
using shared_ptr of a type of Class A as a member variable of class B...


c++constructorshared-ptr

Read More
How can I fill a map with a vector?...


pointersvectorshared-ptrsmart-pointersstdmap

Read More
BackNext