Search code examples
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
How const std::shared_ptr reference upcast works?...


c++castingshared-ptr

Read More
Creating shared_ptr only class with private destructor?...


c++c++20shared-ptr

Read More
How to idiomatically store a unique_ptr or shared_ptr at runtime?...


c++shared-ptrsmart-pointersunique-ptr

Read More
Detecting if a object is owned by a smart pointer...


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

Read More
Referencing a element of a shared_ptr...


c++shared-ptr

Read More
Rust: how to make a separate reference to an item, which is already in a container?...


rustcontainersshared-ptr

Read More
Why does the compiler not find a type in this class even though it is forward declared?...


c++header-filesshared-ptr

Read More
C++ own shared ptr class...


c++c++20shared-ptrsmart-pointers

Read More
make_shared returns error C2665: no overloaded function could convert all the argument types...


c++shared-ptrmake-shared

Read More
How do `shared_ptr` and `weak_ptr` avoid a leak in this case?...


c++shared-ptrsmart-pointersrace-condition

Read More
How to wrap std::shared_ptr and std::vector from C++ in Cython?...


c++cythonshared-ptrstdvector

Read More
why does this `std::shared_ptr<>`managed object leak?...


c++c++11shared-ptr

Read More
shared_ptr std::dynamic_pointer_cast fails with "attempting to reference a deleted function&quo...


c++shared-ptrdynamic-cast

Read More
error is boost shared_ptr and class inheritance...


c++boostshared-ptrros

Read More
BackNext