From: Valentin Bonnard (Bonnard.V_at_[hidden])
Date: 1999-08-16 10:50:30
Andy Glew wrote:
> Typically this would be done inside an iterator:
> begin(), end(), ++, --, , etc.
> As usual, I am lazy, and would prefer not to have to code up all of
> the iterator access methods - but I don't see anything like
> "iterator hooks".
You define pre++, pre-- and *, you get post++, post--, and ->.
There is also the comparison utilities, which give you >, >=,
<=, != with just == and <.
All these utilities you get into boost.
-- Valentin Bonnard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk