Search code examples
Swapping pointers: equivalent of `std::unique_ptr::swap`...


c++goswapunique-ptr

Read More
What is wrong with this use of std::unique_ptr that gives invalid pointer error?...


c++unique-ptr

Read More
Error using unique pointer from interface as attribute of a class...


armunique-ptr

Read More
Inserting std::unique_ptr into std::set...


c++stlinsertunique-ptrstdset

Read More
How to properly delete 1+ object from vector of uniq_ptr's...


c++vectorunique-ptr

Read More
Differences among `unique_ptr<Sample> sp1(new Sample);` `unique_ptr<Sample> sp1(new Samp...


c++c++11initializationunique-ptr

Read More
Writing partial unique_ptr for C++03 compiler which operates on common codebase with newer compilers...


c++templatesunique-ptrc++03

Read More
Get nested class members without accessors or mutators...


c++classunique-ptr

Read More
Vector of structs with unique_ptr...


c++c++11memoryc++17unique-ptr

Read More
Create unique pointer inside a function...


c++qtunique-ptr

Read More
Clone vector of unique pointers with RTTI...


c++unique-ptr

Read More
Use std::vector<double> to access data managed by std::unique_ptr<double[2]>...


c++stlunique-ptr

Read More
Boost graph bundled properties with std::unique_ptr...


c++boostunique-ptrboost-graph

Read More
Why can a T* be passed in register, but a unique_ptr<T> cannot?...


c++assemblyunique-ptrcalling-conventionabi

Read More
Passing a unique pointer's pointer to a function that takes a double pointer...


c++pointersunique-ptr

Read More
Is it possible use an rvalue to initialize a data member?...


c++c++14unique-ptrmove-semanticsrvalue-reference

Read More
Comparing underlying (derived) types pointed-to by std::unique_ptr...


c++17unique-ptrtypeiddynamictype

Read More
How best can I fix my memory leak using smart pointers?...


c++pointerssmart-pointersunique-ptr

Read More
How to initialize unique_ptr from raw C heap memory pointer?...


c++heap-memorysmart-pointersunique-ptrraw-pointer

Read More
How to return reference of unique_ptr<Derived> from unique_ptr<Base>?...


c++c++11inheritanceunique-ptrc++20

Read More
access to an object member passed by unique_ptr...


c++objectbinary-search-treemoveunique-ptr

Read More
Is it possible to use std::make_unique in a class constructor and `this` pointer?...


c++constructorunique-ptr

Read More
Unique pointer to Base class...


c++oopinheritanceoverloadingunique-ptr

Read More
Why is it a problem to get the return of unique_ptr before assigning to a member variable?...


c++c++11unique-ptrlifetimetemporary

Read More
About `std::unique_prt<Base>& pBase= make_unique<Derived>();`...


c++c++11inheritancec++17unique-ptr

Read More
unique_ptr in member initialization list...


c++c++11constructorinitializationunique-ptr

Read More
How does one move a std::unique_ptr between windows without risking a memory leak?...


c++windowsunique-ptr

Read More
How to perform a dynamic_cast with a unique_ptr?...


c++boostsmart-pointersunique-ptrdynamic-cast

Read More
Can't assign empty initializer to vector of unique_ptrs...


c++c++11vectorunique-ptrunordered-map

Read More
I wonder why `std::unique_ptr<int> foo (new int)' is legal since `std::unique_ptr<int&g...


c++c++11unique-ptr

Read More
BackNext