Bug#101371: marked as done ([PR libstdc++/3551] error in auto_ptr implementation)

2001-11-28 Thread Debian Bug Tracking System
.mors.wiggy.net (8.12.0.Beta10/8.12.0.Beta10/Debian 8.12.0.Beta10) id f5IL3SD1026158; Mon, 18 Jun 2001 23:03:28 +0200 Message-Id: <[EMAIL PROTECTED]> From: Wichert Akkerman <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: error in auto_ptr impleme

Re: libstdc++/3551: error in auto_ptr implementation

2001-07-03 Thread Gabriel Dos Reis
Matthias Klose <[EMAIL PROTECTED]> writes: | The code below does not compile with g++ 3.0, but it seems correct | judging by my C++ books. No serious up-to-date C++ book can claim the code below should work. | list > lapi; That is incorrect: You cannot put an auto_ptr<> in a standard contain

Re: libstdc++/3551: error in auto_ptr implementation

2001-07-03 Thread Ross Smith
Matthias Klose wrote: > > The code below does not compile with g++ 3.0, but it seems correct > judging by my C++ books. > > Wichert. > > #include > #include > using namespace std; > int main(int, char**) { > auto_ptr api(new int(5)); > list > lapi; > lapi.push_back(api); > return 0; >

error in auto_ptr implementation

2001-07-03 Thread Matthias Klose
>Submitter-Id: net >Originator:Wichert Akkerman <[EMAIL PROTECTED]> >Organization: The Debian project >Confidential: no >Synopsis: error in auto_ptr implementation >Severity: serious >Priority: medium >Category: libstdc++ >Clas

Bug#101371: error in auto_ptr implementation

2001-06-18 Thread Wichert Akkerman
Package: g++-3.0 Version: 1:3.0-0pre010613 Severity: normal Tags: sid The code below does not compile with g++ 3.0, but it seems correct judging by my C++ books. Wichert. #include #include using namespace std; int main(int, char**) { auto_ptr api(new int(5)); list > lapi; lapi.push_back(