libstdc++-v3 useable ?
Benjamin Kosnik
bkoz@redhat.com
Fri Jan 26 13:11:00 GMT 2001
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
More information about the Libstdc++
mailing list