Search code examples
Different ways to dynamically create pointers to objects in C++...


c++smart-pointers

Read More
How do I create a unique_ptr from a raw pointer, by reference?...


c++smart-pointers

Read More
Disadvantages of shared_ptr...


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

Read More
What's the best and safest way to dynamically create object of derived class passed as default f...


c++smart-pointersdefault-arguments

Read More
Cannot assign derived raw pointer to base unique_ptr...


c++pointersinheritancesmart-pointersvirtual-inheritance

Read More
What does `move occurs due to use in generator` error mean?...


rustsmart-pointersmove-semantics

Read More
How do I pass smart pointers into functions?...


c++c++11parameter-passingsmart-pointersunique-ptr

Read More
Switching ownership between two smart pointers that point to same resource (new type necessary?)...


c++tasksmart-pointers

Read More
shared_ptr reference count changed after passed to a unique_ptr object...


c++shared-ptrsmart-pointersunique-ptr

Read More
Why do unique_ptr have two functions reset and operator= that do similar things but not overload?...


c++c++11c++14smart-pointersunique-ptr

Read More
Custom deleter unique_ptr creates 'function not used' warnings in object code and error duri...


c++c++20smart-pointers

Read More
Smart pointers in Qt...


c++qtsmart-pointers

Read More
Customize the deleter to deallocate a 2D array through std::unique_ptr...


c++c++14smart-pointers

Read More
When will the destructor be called?...


c++classtemplatesdestructorsmart-pointers

Read More
Shared pointer passed by ref, copy and moved into a vector...


c++movesmart-pointers

Read More
std::vector<std::unique_ptr<UnimplementType>> compile error...


c++memorysmart-pointers

Read More
Convert container of pointers to smart pointers?...


c++pointersbooststlsmart-pointers

Read More
Smart pointers vs Reference...


c++memorypointersreferencesmart-pointers

Read More
Avoiding null pointer crashes in C++ by overloading operators - bad practice?...


c++qtoperator-overloadingshared-ptrsmart-pointers

Read More
Singly linked list with unique_ptr...


c++linked-listsmart-pointersunique-ptr

Read More
Storing and using smart_ptr address...


c++shared-ptrsmart-pointers

Read More
Dynamic casting for TSharedPtr<Type>...


c++smart-pointersunreal-engine5

Read More
Will moving from released pointers leak memory?...


c++smart-pointersmove-semantics

Read More
Will std::make_unique<alignas(32) std::byte[]> allocate aligned memory?...


c++smart-pointersmemory-alignment

Read More
How to use smart pointers to store an...


c++classpointerssmart-pointers

Read More
I want to write data in a protobuf format, but my program throws an exception...


c++protocol-bufferssmart-pointersdataformat

Read More
If the ownership is moved from one unique pointer into another, is calling the method of the earlier...


c++smart-pointers

Read More
Should I use C++11 emplace_back with pointers containers?...


c++c++11smart-pointers

Read More
Share state between actix-web server and async closure...


rustsmart-pointersdereferencerust-tokioactix-web

Read More
Using smart pointers in a struct or class...


c++visual-c++c++11smart-pointers

Read More
BackNext