Package: libstdc++5-dev Version: 1:3.2.3-8 Severity: normal The following test code:
#include <map> typedef std::map<int,int> MapType; int main() { MapType::key_type foo = 0; MapType::data_type bar = 0; return bar; } fails with an error at the MapType::data_type line: map_data_type_bug.cpp: In function `int main()': map_data_type_bug.cpp:8: error: `data_type' is not a member of type ` std::map<int, int, std::less<int>, std::allocator<std::pair<const int, int> > >' map_data_type_bug.cpp:8: error: syntax error before `=' token map_data_type_bug.cpp:10: error: `bar' undeclared (first use this function) map_data_type_bug.cpp:10: error: (Each undeclared identifier is reported only once for each function it appears in.) key_type and value_type are recognized, but data_type is not. This breaks conformance with the STL standard (and, of course, my code :)). -- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: Linux ouroboros 2.4.20 #5 Mon Apr 14 17:15:56 PDT 2003 i686 Locale: LANG=C, LC_CTYPE=C Versions of packages libstdc++5-dev depends on: ii g++-3.2 1:3.2.3-8 The GNU C++ compiler ii gcc-3.2-base 1:3.2.3-8 The GNU Compiler Collection (base ii libc6-dev 2.3.2-7 GNU C Library: Development Librari ii libstdc++5 1:3.3.1-0pre0 The GNU Standard C++ Library v3 -- no debconf information