Boost logo

Boost :

From: Thomas Witt (witt_at_[hidden])
Date: 2003-07-02 15:32:05


John,

On Wednesday 02 July 2003 02:34, John R. Bandela wrote:
> I was playing with the new iterator adapters in the sandbox. As I was
> looking at filter_iterator, I found that it allows user code to increment
> it like a random access iterator. Here is an example that compiled on VC
> 7.1

I've checked in a fix for this. Static asserts make the instantiation of
iterator_adaptors members fail depending on the iterator category. You may
want to try it, though I don't have access to VC until tomorrow, so it is not
guaranteed to work.

Thomas

-- 
Dipl.-Ing. Thomas Witt
Institut fuer Verkehrswesen, Eisenbahnbau und -betrieb, Universitaet Hannover
voice: +49(0) 511 762 - 4273, fax: +49(0) 511 762-3001
http://www.ive.uni-hannover.de

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