Boost logo

Boost :

From: jsiek_at_[hidden]
Date: 1999-11-28 16:04:39

Dave Abrahams writes:
> > One minor quibble, and it's only with your test_iter, not with your
> > proposed boost code. Needs:
> >
> > friend Distance operator - (const self& x, const self& y) {return x._i -
> > y._i;}
> Actually, I think that should be part of randomly_accessible, don't you?

The "difference" operator- is one of the core operations that can't
be implemented in terms of one of the others :(

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