This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20690] New: Bug in std::vector
- From: "michael at xter dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Mar 2005 13:43:54 -0000
- Subject: [Bug c++/20690] New: Bug in std::vector
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
There is no allocator rebinding for some STL containers i.e. std::vector, so the
following code dose not compiled:
#include <vector>
#include <string>
using namespace std;
typedef std::vector<std::string, std::allocator<int> > Vec;
Vec v;
--
Summary: Bug in std::vector
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: michael at xter dot net
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20690