Search code examples
How do I pass smart pointers into functions?...


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

Read More
Is there any use for unique_ptr with array?...


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

Read More
Can I store a function's output parameter into a unique_ptr?...


c++c++11unique-ptr

Read More
Is std::unique_ptr an application of RAII?...


c++unique-ptr

Read More
Automatic template parameter deduction in unique_ptr and make_unique...


c++templatesunique-ptrtemplate-argument-deductionclass-template

Read More
Unable to std::format std::vector<std::unique_ptr<int>> in C++...


c++stdvectorunique-ptrc++23stdformat

Read More
How to assign the address of an existing object to a smart pointer?...


c++smart-pointersc++14unique-ptr

Read More
make_unique cannot access private constructor in static member...


c++unique-ptr

Read More
Correct usage of unique_ptr in class member...


c++c++11c++14unique-ptr

Read More
How to properly clone an object that contains a polymorphic object which may contain a vector to mor...


c++c++17polymorphismunique-ptr

Read More
How to fill an array of unique_ptr?...


c++arraysc++11c++14unique-ptr

Read More
How to get array size stored in unique_ptr?...


arraysc++11stdvectorunique-ptr

Read More
Recommended way to make std::unique_ptr of array type without value initialization?...


c++memory-managementsmart-pointersunique-ptr

Read More
Does assigning make_unique require std::move() to an empty unique_ptr?...


c++unique-ptrmove-semanticsstdmove

Read More
Aligned dynamic array and smart pointer...


c++c++11unique-ptrmemory-alignment

Read More
Confused about returning std::unique_ptr...


c++unique-ptrmove-semantics

Read More
pass std::unique_ptr to std::bind...


c++lambdabindmoveunique-ptr

Read More
How to capture a unique_ptr into a lambda expression?...


c++lambdac++11unique-ptr

Read More
What does std::make_unique_for_overwrite() do vis-a-vis std::make_unique()?...


c++c++20smart-pointersunique-ptr

Read More
Does std::unique_ptr automatically release memory when the object is released?...


c++stdunique-ptr

Read More
Using unique_ptr and custom deleter with the fftw3 library...


c++smart-pointersunique-ptrfftw

Read More
operator<< overload not selected for rvalue std::ostringstream and std::unique_ptr...


c++c++17operator-overloadingunique-ptrostringstream

Read More
Is auto_ptr deprecated?...


c++standardssmart-pointersauto-ptrunique-ptr

Read More
How to implement make_unique function in C++11?...


c++c++11unique-ptr

Read More
unique_ptr is not changing object it's pointing to...


c++pointersunique-ptr

Read More
How can I pass std::unique_ptr into a function...


c++c++11unique-ptr

Read More
How to allocate for later placement new "as if by new"...


c++dynamic-memory-allocationunique-ptr

Read More
Detecting the erroneous deletion of a raw pointer...


c++exceptionunique-ptr

Read More
Extracting a std::unique_ptr member using std::move(), from a class that is invalid when null: how t...


c++unique-ptrmove-semanticsownership-semantics

Read More
How to create a new value and assign to a private unique_ptr in a class constructor?...


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

Read More
BackNext