Boost logo

Boost :

From: Dave Abrahams (abrahams_at_[hidden])
Date: 1999-11-28 16:06:04


> jsiek_at_[hidden] wrote on 11/28/99 2:03 AM
>>Here's what iterator_ops.hpp looks like with the above suggestions:
>
> I like it.
>
> 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?

> I especially like how Dave's addable automatically took care of:
>
> friend self operator + (Distance n, const self& rhs);
>
> For some reason I always forget that one.

<blush>

It is really nice to see the way the boost libs are developing. There's so
much synergy!

-Dave


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