Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2001-07-25 05:53:49


>I need some iterator guarantees from regex, though. I can't supply a
>bidirectional end iterator that way; the start iterator I can even make
>random-access as it will pull input where necessary and buffer it, but
>should the library call std::distance(first, last) or manipulate 'last' in
>any way short of comparing it to 'first' I'm in trouble.

I see what you mean - regex basically needs bidirectional semantics plus
std::distance - it doesn't ever change the end-of-sequence iterator (at
least I hope it doesn't, I don't think I messed with that!).

- John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/


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