
14 Aug
2014
14 Aug
'14
12:16 a.m.
On Wed, Aug 13, 2014 at 7:18 PM, Eric Niebler
On 8/11/2014 5:27 AM, Goran wrote:
So, how can I open a CSV file in text mode, get bidirectional iterators and hand them over to Xpressive?
The hard part is implementing a bidirectional iterator that pages in sections of a text file on demand.
I'm not aware of such a beast in Boost. If I were to implement one, I'd probably start by looking at the existing support for memory mapped files in Boost.Interprocess.
You might also take a look at multi-pass iterators from Spirit: http://www.boost.org/doc/libs/1_56_0/libs/spirit/doc/html/spirit/support/mul...