On Jul 6, 2010, at 7:21 AM, "andre dot bergner dot 0 at googlemail dot
com" wrote:
This is not a compiler bug, but a bug in the STL iterator class.
The less-than-operator does not work properly.
The following program can reproduce the bug.
# include
# include
using namespace std;
m
This is not a compiler bug, but a bug in the STL iterator class.
The less-than-operator does not work properly.
The following program can reproduce the bug.
# include
# include
using namespace std;
main() {
vector v;
vector::iterator i = v.begin();
--i;
cout << ( i - v.begin()