Boost logo

Boost :

From: nbecker_at_[hidden]
Date: 2001-10-02 14:10:50

In the HTML doc for iterator_adaptor, we see

  template <class Difference, class BaseType1, class BaseType2>
  Difference distance(type<Difference>, const BaseType1& x, const
  BaseType2& y) const {}

As I understand it, the "BaseType1/2" is misleading, because the
parameter is not the base iterator, it's the adapted iterator. Do I
understand correctly? I hope so, because it would be impossible to
make this work for adaptors that have internal state otherwise.

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