This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: libstdc++-v3 useable ?
- To: Dirk Mueller <dmuell at gmx dot net>
- Subject: Re: libstdc++-v3 useable ?
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Fri, 26 Jan 2001 13:11:25 -0800 (PST)
- cc: Phil Edwards <pedwards at disaster dot jaj dot com>, libstdc++ at gcc dot gnu dot org
I've run across another bug in the normal_iterator stuff very recently. It
has to do with incomplete types for std::string::iterator and std::vector::iterator, the
two containers where __normal_iterator is used instead of (what used to
be) T*.
#if 1
#include <vector>
class Foo;
void f()
{
std::vector<Foo>::iterator i;
}
#else
#include <string>
class Foo;
void f()
{
std::string<Foo>::iterator i;
}
#endif
-benjamin