Boost logo

Boost :

From: Giovanni Bajo (giovannibajo_at_[hidden])
Date: 2004-04-07 08:08:56


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

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