nsACString::const_iterator A,B,C; searchable.BeginReading(A); searchable.EndReading(C); while (B != C) ++B; ok, so what we have here is some condensed buggy code. anyone who isn't the author or compiler will read it and quickly note that B is never initialized. What I'm asking for is a debug warning/assert to complain about the use of an uninitialized iterator.
char* is the new iterator and the compiler can warn about that one. WONTFIX.