
"Jonathan Turkanis" <technews@kangaroologic.com> writes:
The caveat is that seeking with respect to stream positions -- i.e. values of type traits_type::pos_type rather than traits_type::off_type -- only works as expected for positions which are equivalent to integral offsets.
You lost me here. What positions aren't?
Free ranging random access doesn't make much sense in multibyte streams, anyway. There's a more limited type of random access which is possible in multibyte streams, in which you can save a position and go back to it later. I've chosen not to support this, however.
Do you mean variable-length-character streams? I definitely want to do regular random access on streams of wchar_t, which I suppose are "multibyte". -- Dave Abrahams Boost Consulting http://www.boost-consulting.com