[iostreams] input_sequence() questions

4 Dec
2009
4 Dec
'09
5:01 a.m.
I am attempting to adapt a windowed mmap reader, one which manages its mapping window using iterators, to a boost::iostreams direct source. I wrote this for reading large files via mmap on 32-bit platforms. The documentation shows that input_sequence() returns a pair of char pointers, not iterators. Is that really true or am I misreading the docs? http://www.boost.org/doc/libs/1_41_0/libs/iostreams/doc/concepts/source.html And it also shows that the input_sequence pointers are non-const. Why is that required for sources? Thanks, Rob
5668
Age (days ago)
5668
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rob Riggs