
18 Jul
2004
18 Jul
'04
6:45 p.m.
Stefan Slapeta wrote: I think I just wrote down the logic reason for the bug:
I'm not sure if I understand correctly what you mean, but the default constructed iterator is inteded to represent the past-the-end value.
When two iterators are compared, STLPort (in debug mode) checks if they have the same 'owner'. Of course, this owner can never be set for an iterator which behaves like above. Any solution which doesn't break the syntax? I don't have any idea which could be implemented easily... Stefan