From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2007-02-28 17:30:29
David Abrahams wrote:
> I'm seeing the following:
> 1. The test appears to do invoke undefined behavior, almost knowingly.
> On line 103, it asks whether a singular range (so named, even) is
> empty. This range is made up of singular iterators, the comparison
> of which invokes undefined behavior. In a debug build on VC8 this
> fires an assertion ("string iterators incompatible"). This problem
> should be fixed.
> Every major standard library now has some iterator checking. We
> should do debug-mode tests of our code with iterator checking on.
I've removed this line and similar from the test. 1.24 has been under
way so long now, so I can't remember what's what anymore, but I think
that the library allows a few operations even when the iterators are
That behavior has changed in cvs head btw.