
7 Apr
2004
7 Apr
'04
4:32 p.m.
"Neal D. Becker" <ndbecker2@verizon.net> 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