Boost logo

Boost :

From: rogeeff (rogeeff_at_[hidden])
Date: 2002-02-04 04:33:45

--- In boost_at_y..., "rogeeff" <rogeeff_at_m...> wrote:
> --- In boost_at_y..., nbecker_at_f... wrote:
> > Sorry, I realize I should clarify this. The problem is the
> > desired behaviour of a cirular container is ambiguous. If I tell
> you
> > to copy (a, b, c), and a > b (base iterator), what do I really
> > The interpretation I used is that I want you to iterate starting
> a
> > and continuing to b. This means that
> The thing is that is does works this way on:
> native MSVC STL
> everywhere with STLPort
> Borland STL (comes with command line tools)
> SunPro C++ STL (RW as I remember)
> Why on earth gcc is using <= instead of != in implementation of
> std::copy?
> IMO using destance of two cycle iterators should invoke undefined
> behavior.
> [...]
> Gennadiy.

I just found out that I was wrong. I just was incorrect test. We do
need to implement distance.


Boost list run by bdawes at, gregod at, cpdaniel at, john at