Search code examples
Is std::unique_ptr<T> required to know the full definition of T?...


c++visual-studio-2010c++11stlunique-ptr

Read More
Pass ownership of an object into method of the same object?...


c++c++14unique-ptrrvalue-referenceownership-semantics

Read More
Trouble passing a function pointer to a method from main in C++...


c++xcodeunique-ptr

Read More
heap corruption when leaving scope with unique_ptr...


c++scopec++11unique-ptr

Read More
Is unique_ptr guaranteed to store nullptr after move?...


c++c++11move-semanticsunique-ptr

Read More
Instantiate unique_ptr to derived class from vector of base class where derived class has been store...


c++oopc++11inheritanceunique-ptr

Read More
Why is the declaration of std::unique_ptr valid with an abstract class...


c++c++11abstract-classunique-ptr

Read More
boost::asio::io_service::post - how to move std::unique_ptr into a handler function...


c++multithreadingboostboost-asiounique-ptr

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


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

Read More
How do I assign an arbitrary value to a unique_ptr?...


c++unit-testingunique-ptr

Read More
No matching default constructor for static unique_ptr...


c++constructorc++20unique-ptr

Read More
Should you use std::unique_ptr alongside std::function?...


c++shared-ptrunique-ptrstd-function

Read More
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
BackNext