Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-04-07 11:32:15


"Neal D. Becker" <ndbecker2_at_[hidden]> writes:

>> spirit::file_iterator has different implementations (through a policy),
>> and works on posix/windows, using memory mapped files when available.
>> Plus, there is a freestand version (std::fopen and friends). It uses
>> Boost.IteratorAdaptor (new version).
>
> I'm looking at your spirit::file_iterator impl. Looks pretty cool.

Yeah, very! Unfortunately it doesn't quite do what I want AFAICT.
Suppose I want a file iterator over std::cin? I think I want a
cacheing iterator that can adapt some other base iterator,
e.g. istreambuf_iterator<char>.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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