
7 Apr
2004
7 Apr
'04
1:08 p.m.
David Abrahams wrote:
Like what, boost::spirit::file_iterator (boost/spirit/iterator/file_iterator.hpp)?
Probably, but a rhetorical question:
"Where is the documentation for this component?"
http://www.boost.org/libs/spirit/doc/file_iterator.html is really inadequate.
I think it serves its purpose for using the iterator within Spirit. I agree it should be rework, if file_iterator had to be generalized in Boost.
I can't even tell what iterator category it provides.
It's a random access iterator. You can experiment with Regex if you want, it should work as-is. IIRC, it's used in Wave too. -- Giovanni Bajo