Search code examples
Why does the pointer exist even after the unique_ptr to which the pointer is assigned goes out of sc...

c++pointersmemory-managementsmart-pointersunique-ptr

Read More
How to pass raw pointer of unique_ptr to a function that takes in unique_ptr?...

c++c++11unique-ptr

Read More
dllexport a type with a std container of std::unique_ptr results in error C2280...

c++visual-c++containersunique-ptrdllexport

Read More
Differences between std::make_unique and std::unique_ptr with new...

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

Read More
error: conversion from ‘unique_ptr<GreenStack,default_delete<GreenStack>>’ to non-scalar...

c++unique-ptr

Read More
std::move between unique_ptr and another that it owns...

c++treenestedmoveunique-ptr

Read More
Printing unique_ptr to cout...

c++c++11iostreamsmart-pointersunique-ptr

Read More
How to move a unique_ptr without custom deleter to another unique_ptr with custom deleter?...

c++unique-ptrmove-semantics

Read More
How to Initialize a Map of Unique pointer Objects sorted by a Object Variable...

c++smart-pointersunique-ptrstdmap

Read More
Cannot convert unique_ptr<derived> to unique_ptr<base>...

c++smart-pointersunique-ptr

Read More
Const correctness of operator* in std::unique_ptr...

c++unique-ptrconst-correctness

Read More
Copying std::unique_ptr's value via dereferencing...

c++c++11unique-ptrvisual-c++-2012

Read More
How to correctly use smart pointers in OOP...

c++shared-ptrunique-ptr

Read More
Returning unique_ptr private member data without transferring ownership...

c++smart-pointersunique-ptr

Read More
Move constructor involving const unique_ptr...

c++constantsmoveunique-ptrmove-constructor

Read More
Is a unique_ptr with custom deleter never invoked when initialized with nullptr...

c++undefined-behaviorunique-ptr

Read More
Assign derived class unique_ptr to base class unique_ptr...

c++oopc++11unique-ptr

Read More
How to pass std::optional struct that contains std::unique_ptr to a function?...

c++functionc++17unique-ptrstdoptional

Read More
Should I use shared_ptr or unique_ptr...

c++c++11shared-ptrpimpl-idiomunique-ptr

Read More
Example of memory leak in c++ (by use of exceptions)...

c++memory-leaksdynamic-memory-allocationunique-ptr

Read More
Can a smart pointer be forward declared and initialized separately?...

c++pointersunique-ptr

Read More
Move an object containing a unique_ptr to vector...

c++pointerssmart-pointersunique-ptrnoncopyable

Read More
std::unique_ptr custom deleter that takes two arguments...

c++c++11unique-ptr

Read More
C++ reinitializing variables in a while loop...

c++unique-ptr

Read More
Initializing unique_ptr causes an "error: use of deleted function" even though it's &q...

c++c++11unique-ptrstdmovedeleted-functions

Read More
Using an unique_ptr as a member of a struct...

c++referenceunique-ptrdereference

Read More
std::unique_ptr deleted function, initializer_list - driven allocation...

c++c++11unique-ptrinitializer-list

Read More
How do I close this Gtk::MessageDialog before it's parent window is destructed?...

c++unique-ptrgtkmm4

Read More
Strange behavior between `std::make_unique` and `std::unique_ptr` with forward declaration...

c++c++11c++17shared-memoryunique-ptr

Read More
Create a `map` using `unique_ptr`...

c++dictionaryunique-ptr

Read More
BackNext