
"Giovanni Bajo" <giovannibajo@libero.it> writes:
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.
Hmmph. I have to say that while I love what Spirit is doing, actually using it with confidence requires way too much use of the source, Luke. Reference docs are annoying to write, but neccessary.
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.
That's great! Thank you! -- Dave Abrahams Boost Consulting www.boost-consulting.com