Search code examples
std::move captured unique_ptr inside lambda...


c++lambdasmart-pointers

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


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

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


c++smart-pointersunique-ptrfftw

Read More
How to put std::function in a smart pointer like std::unique_ptr and use it?...


c++functionlambdasmart-pointers

Read More
Is auto_ptr deprecated?...


c++standardssmart-pointersauto-ptrunique-ptr

Read More
Resetting unique_ptr to an array of characters...


c++c++14smart-pointers

Read More
valgrind and std::unique_ptr --- false positive or not?...


c++valgrindc++14smart-pointers

Read More
Why is auto_ptr being deprecated?...


c++c++11smart-pointersauto-ptr

Read More
How to return smart pointers and covariance in C++...


c++inheritanceconstructorsmart-pointers

Read More
Return Type Covariance with Smart Pointers...


c++smart-pointersvirtual-functionsreturn-type

Read More
How can I use covariant return types with smart pointers?...


c++covariancesmart-pointers

Read More
Why weak_ptr::use_count may return a different count to shared_ptr::use_count?...


c++shared-ptrsmart-pointersweak-ptr

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
Problem with std::unique_ptr and dangling pointer...


c++c++17shared-ptrsmart-pointersunique-ptr

Read More
Understanding C++ make shared pointer with const arguments...


c++c++11boostsmart-pointers

Read More
Strange behavior when passing a cable captures `std::initializer_list<std::shared_ptr<Conversa...


c++c++11boost-asiosmart-pointers

Read More
What is a smart pointer and when should I use one?...


c++pointersc++11smart-pointersc++-faq

Read More
Unexpected Order of Destructor Calls with std::shared_ptr and std::weak_ptr in C++...


c++c++11destructorsmart-pointers

Read More
How do I cast a shared_ptr from one parent class to another parent class?...


c++inheritanceshared-ptrsmart-pointers

Read More
A unique_ptr defined as base class then cast in as derived class...


c++classinheritancesmart-pointers

Read More
Getting object with a unique_ptr member from a std::map()...


c++classconstructorsmart-pointersstdmap

Read More
How to return a unique_ptr reference to a const type...


c++smart-pointers

Read More
segfaults in C++ when using std::shared_ptr...


c++pointersfunction-pointersshared-ptrsmart-pointers

Read More
Will a default-constructed (empty) shared_ptr automatically be initialized to nullptr?...


c++c++11smart-pointers

Read More
Build error of "No matching constructor for initialization" when initialize share_ptr<T...


c++smart-pointersmingw-w64ownership-semantics

Read More
SIGSEGV when trying to solve large mazes with A*...


c++pointerssegmentation-faultshared-ptrsmart-pointers

Read More
How to move unique_ptr to raw pointer?...


c++pointerssmart-pointers

Read More
pushing a unique_ptr into a vector of variant unique_ptr...


c++smart-pointersmove-semanticsvariant

Read More
Is returning a reference to a managed memory a malpractice?...


c++smart-pointers

Read More
When to use shared_ptr and when to use raw pointers?...


c++smart-pointers

Read More
BackNext