Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-06-02 17:39:05

"Jonathan Turkanis" <technews_at_[hidden]> 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

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at