Search code examples
Issues about using unique_ptr as type of vector (C++)...

c++vectorattributesunique-ptr

Read More
Moving a unique pointer - undefined behavior on cppreference?...

c++language-lawyerunique-ptrmove-semantics

Read More
How to deal uniformly with a factory returning unique_ptr and a getter returning a reference to glob...

c++memory-managementc++17smart-pointersunique-ptr

Read More
C++11 initializer list with unique_ptr...

c++11vectorinitializationunique-ptr

Read More
push objects in vector of class when class has a deque of unique_ptr...

c++oopunique-ptrdeque

Read More
How to avoid memory leaks when releasing unique_ptr from C++ to C...

c++freeunique-ptrdelete-operator

Read More
Resource management like std::unique_ptr, but for identifiers rather than pointers...

c++unique-ptr

Read More
std::unique_ptr from virtual classes...

c++oopinheritanceabstract-classunique-ptr

Read More
Passing std::unique_ptr to constructor through r-value reference...

c++c++20moveunique-ptr

Read More
std::optional<T> appears to destroy T twice when leaving its scope. Why?...

c++unique-ptrstdoptional

Read More
Can I copy a `std::function` from a `std::unique_ptr` before moving it?...

c++lambdaunique-ptr

Read More
virtual method overridden issue with unique_ptr move semantics...

c++inheritancedesign-patternsvirtualunique-ptr

Read More
Passing the object in a unique pointer as a reference to the other objects' constructor...

c++unique-ptr

Read More
Understanding the unique_ptr's constructor which takes a custom deleter...

c++templatesc++17unique-ptrtype-deduction

Read More
Constructor deleted in unique_ptr...

c++unique-ptr

Read More
Capturing types from parameter pack and creating an array of unique_ptr from them...

c++c++17variadic-templatesunique-ptr

Read More
sequence of destructors when using unique_ptr to base class...

c++polymorphismunique-ptr

Read More
std::unique_ptr, deleters and the Win32 API...

c++winapic++11unique-ptr

Read More
Wrap Vulkan's VkInstance into unique_ptr without additional dynamic allocations...

c++c++17unique-ptrvulkan

Read More
using pimpl pattern in templated class. How to allocate a unique_ptr...

c++templatesunique-ptrpimpl-idiom

Read More
Why unique_ptr requires complete type in constructor?...

c++c++11stlunique-ptrincomplete-type

Read More
unique_ptr versus heap allocating and delete...

c++pointersnew-operatorunique-ptrdelete-operator

Read More
Return value optimization not working for const unique_ptr member?...

c++copy-constructorunique-ptr

Read More
"Nested" make_unique calls failing on std::uninitialized_copy()...

c++c++11vectorunique-ptr

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

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

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

c++shared-ptrsmart-pointersunique-ptr

Read More
C++ inserting unique_ptr in map...

c++pointersdictionarystlunique-ptr

Read More
Why use std::make_unique in C++17?...

c++c++17unique-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
How to create an array of unique_ptrs with custom deleters?...

c++arraysunique-ptrdefault-constructorcustom-deleter

Read More
BackNext