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

2001-11-28 Thread Debian Bug Tracking System
Your message dated Wed, 28 Nov 2001 18:30:48 + with message-id <[EMAIL PROTECTED]> and subject line upstream closed bug has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility

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; >