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 <memory> #include <list> using namespace std; int main(int, char**) { auto_ptr<int> api(new int(5)); list<auto_ptr<int> > lapi; lapi.push_back(api); return 0; } -- System Information Debian Release: testing/unstable Architecture: i386 Kernel: Linux fog 2.2.19+ext3+ipsec #1 Thu Apr 12 17:22:37 CEST 2001 i686 Locale: LANG=en_GB.ISO-8859-1, LC_CTYPE=en_GB.ISO-8859-1 Versions of packages g++-3.0 depends on: ii gcc-3.0 1:3.0-0pre010613 The GNU C compiler. ii gcc-3.0-base 1:3.0-0pre010613 The GNU compiler collection (base ii libc6 2.2.3-6 GNU C Library: Shared libraries an ii libstdc++3-dev 1:3.0-0pre010613 The GNU stdc++ library version 3 (