StackOverflow Questions for Tag: auto-ptr

dimba
dimba

Reputation: 27631

Is auto_ptr deprecated?

Score: 87

Views: 50248

Answers: 4

Read More
brett
brett

Reputation: 5649

Why is auto_ptr being deprecated?

Score: 110

Views: 56222

Answers: 5

Read More
Loki Astari
Loki Astari

Reputation: 264639

std::auto_ptr to std::unique_ptr

Score: 217

Views: 74564

Answers: 4

Read More
kadina
kadina

Reputation: 5372

C++: unique_ptr vs auto_ptr, and advantages of unique_ptr over auto_ptr?

Score: 5

Views: 1833

Answers: 1

Read More
roulette01
roulette01

Reputation: 2472

Type of a global object dependent on boolean flag (determined at runtime)

Score: 1

Views: 103

Answers: 1

Read More
twj
twj

Reputation: 35

In smart_ptr constructor, why pass by value and not pass by const ref?

Score: 0

Views: 95

Answers: 1

Read More
Pascal T.
Pascal T.

Reputation: 4081

auto_ptr or shared_ptr equivalent in managed C++/CLI classes

Score: 10

Views: 7403

Answers: 4

Read More
regomodo
regomodo

Reputation: 754

How do I re-enable C++17 removed features in clang?

Score: 2

Views: 2735

Answers: 1

Read More
Andu
Andu

Reputation: 43

Warning linking libxml++-2.6 (c++11 obsoltes std::auto_ptr). Shall I just ignore it?

Score: 2

Views: 744

Answers: 3

Read More
Mark Meretzky
Mark Meretzky

Reputation: 99

Example of C++ std::vector<std::auto_ptr<T>> that compiles but fails

Score: 2

Views: 112

Answers: 2

Read More
Lost1
Lost1

Reputation: 1062

c++ auto_ptr destroyed when passed into a function

Score: 2

Views: 193

Answers: 1

Read More
Yury Finchenko
Yury Finchenko

Reputation: 1075

Using auto_ptr<std::ofstream> object

Score: 2

Views: 447

Answers: 2

Read More
anurag86
anurag86

Reputation: 1687

Why unique_ptr works but auto_ptr doesn’t with STL

Score: 1

Views: 336

Answers: 3

Read More
Itachi Uchiwa
Itachi Uchiwa

Reputation: 3164

storing std::auto_ptr in a container

Score: 0

Views: 66

Answers: 0

Read More
nickolay
nickolay

Reputation: 3895

'auto_ptr' and STL containers: writing an example of erroneous usage

Score: 3

Views: 2917

Answers: 5

Read More
Roman2452809
Roman2452809

Reputation: 448

Why is using a reference or unique pointer member of a class a bad thing?

Score: 2

Views: 1756

Answers: 2

Read More
Freddie
Freddie

Reputation: 1707

Passing an auto_ptr to a function effectively makes it a sink. Why?

Score: 6

Views: 4183

Answers: 3

Read More
Newbie
Newbie

Reputation: 204

smart pointer with unexpected behavior

Score: 0

Views: 76

Answers: 0

Read More
Peretz Levinov
Peretz Levinov

Reputation: 1

unique_ptr/auto_ptr look alike with custom deleter for c++98

Score: 0

Views: 464

Answers: 1

Read More
Abhay Nayak
Abhay Nayak

Reputation: 1109

initializing functions as auto_ptr with class reference

Score: 0

Views: 103

Answers: 0

Read More
PreviousPage 1Next