Boost logo

Boost :

From: Stefan Slapeta (stefan_nospam__at_[hidden])
Date: 2004-07-18 13:45:47


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk