StackOverflow Questions for Tag: unique-ptr

Jan Schultke
Jan Schultke

Reputation: 39287

Why does Clang think that std::unique_ptr is not standard-layout?

Score: 4

Views: 123

Answers: 1

Read More
Kornel Szymkiewicz
Kornel Szymkiewicz

Reputation: 682

Validness of unique_ptr passed as a rvalue reference to a function (inheritance)

Score: 8

Views: 221

Answers: 2

Read More
Alexandr
Alexandr

Reputation: 165

unique_ptr to char* conversion

Score: 7

Views: 13519

Answers: 3

Read More
Ben
Ben

Reputation: 9703

Generated code size for simple `std::unique_ptr` usage?

Score: 2

Views: 117

Answers: 1

Read More
AhSeng Fan
AhSeng Fan

Reputation: 467

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

Score: 13

Views: 7096

Answers: 3

Read More
Simon
Simon

Reputation: 818

Aligned dynamic array and smart pointer

Score: 13

Views: 3077

Answers: 2

Read More
Igor
Igor

Reputation: 6237

Initializing unque_ptr

Score: 0

Views: 68

Answers: 0

Read More
Blindy
Blindy

Reputation: 67362

Confused about returning std::unique_ptr

Score: 2

Views: 136

Answers: 1

Read More
vansergh
vansergh

Reputation: 1

pass std::unique_ptr to std::bind

Score: -1

Views: 94

Answers: 1

Read More
Earth Engine
Earth Engine

Reputation: 10426

How to capture a unique_ptr into a lambda expression?

Score: 55

Views: 59925

Answers: 5

Read More
einpoklum
einpoklum

Reputation: 131373

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

Score: 32

Views: 9304

Answers: 3

Read More
JKofsky
JKofsky

Reputation: 113

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

Score: 1

Views: 151

Answers: 1

Read More
Climbatized
Climbatized

Reputation: 13

Using unique_ptr and custom deleter with the fftw3 library

Score: 1

Views: 76

Answers: 2

Read More
Damir Tenishev
Damir Tenishev

Reputation: 3262

How std::shared_ptr avoids completeness requirement for holding object?

Score: 0

Views: 75

Answers: 0

Read More
Daniel
Daniel

Reputation: 13

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

Score: 1

Views: 109

Answers: 1

Read More
dimba
dimba

Reputation: 27571

Is auto_ptr deprecated?

Score: 87

Views: 50171

Answers: 4

Read More
Jay Iuliano
Jay Iuliano

Reputation: 21

How do you call non-virtual, non-const derived class methods from a unique_ptr to base?

Score: 0

Views: 95

Answers: 0

Read More
Romain
Romain

Reputation: 21

Why does the unique_pointer solve the "no matching function for call to 'construct_at'" error?

Score: 0

Views: 18

Answers: 0

Read More
user1899020
user1899020

Reputation: 13575

How to implement make_unique function in C++11?

Score: 37

Views: 61098

Answers: 2

Read More
johnco3
johnco3

Reputation: 2642

Using smart pointers to manage buffers

Score: 5

Views: 4239

Answers: 2

Read More
PreviousPage 1Next