StackOverflow Questions for Tag: auto-ptr

Violet Giraffe
Violet Giraffe

Reputation: 33605

Resurrecting std::auto_ptr in GCC when compiling with -std=c++17

Score: 1

Views: 1828

Answers: 1

Read More
Etan
Etan

Reputation: 17554

Making a non-object resource RAII-compliant

Score: 1

Views: 864

Answers: 6

Read More
itnovice
itnovice

Reputation: 513

How do I declare a dynamic array with std::auto_ptr?

Score: 4

Views: 2027

Answers: 2

Read More
user2856064
user2856064

Reputation: 553

What is the difference between *ptr and *ptr.get() when using auto_ptr?

Score: 7

Views: 3758

Answers: 4

Read More
Brian M
Brian M

Reputation: 1

Alternative library/template class for the deprecated auto_ptr in C++17

Score: 0

Views: 300

Answers: 1

Read More
JCowfer
JCowfer

Reputation: 140

Returning auto_ptr has different results on diferent gcc versions

Score: 0

Views: 68

Answers: 0

Read More
Gregor
Gregor

Reputation: 21

auto_ptr with swig

Score: 2

Views: 896

Answers: 2

Read More
Uhall
Uhall

Reputation: 5781

Why is it wrong to use std::auto_ptr<> with standard containers?

Score: 227

Views: 50268

Answers: 6

Read More
Steve M. Bay
Steve M. Bay

Reputation: 313

Create a new object from existing pointer C++

Score: 4

Views: 12707

Answers: 4

Read More
Mijin
Mijin

Reputation: 125

How to debug regasm (what types get registered)

Score: 1

Views: 279

Answers: 1

Read More
rubenvb
rubenvb

Reputation: 76775

Qt and auto_ptr

Score: 3

Views: 4935

Answers: 3

Read More
Marc
Marc

Reputation: 998

Is get() reliable when an auto_ptr is uninitialized?

Score: 6

Views: 289

Answers: 3

Read More
Wolf
Wolf

Reputation: 10238

Misleading performance warning for auto_ptr type passed by value

Score: 1

Views: 402

Answers: 1

Read More
Vaska el gato
Vaska el gato

Reputation: 198

Why auto_ptr initialization using the assignment syntax is not allowed

Score: 3

Views: 1698

Answers: 3

Read More
Ashot
Ashot

Reputation: 10979

How is std::auto_ptr initialized with a rvalue?

Score: 3

Views: 305

Answers: 1

Read More
BlackMamba
BlackMamba

Reputation: 10252

why there are template copy constructor and override operator function in auto_ptr?

Score: 4

Views: 90

Answers: 1

Read More
David Sykes
David Sykes

Reputation: 49882

Is it wrong to use auto_ptr with new char[n]

Score: 14

Views: 9477

Answers: 8

Read More
pabitra mohan
pabitra mohan

Reputation: 87

My Auto Pointer works even after ownership transfer

Score: 0

Views: 186

Answers: 1

Read More
Chenna V
Chenna V

Reputation: 10513

Reference to a subset of a container object

Score: 3

Views: 1358

Answers: 4

Read More
Belloc
Belloc

Reputation: 6390

What is the danger of passing an auto_ptr to a function expecting a constant reference to an auto_ptr?

Score: 2

Views: 1703

Answers: 1

Read More
PreviousPage 2Next