Boost logo

Boost :

From: jsiek_at_[hidden]
Date: 2000-06-11 22:05:20


David Abrahams writes:
> From: <jsiek_at_[hidden]>
> The problem with that is that you'd be able to compile code that does any of
> the following with wrapped bidirectional iterators p, q:
>
> q = p + 5
> int x = p - q;
> p[4]
>
> We don't want that, do we? I sure don't

Nope, not good.

Cheers,

Jeremy


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