[RFC] Large file iostreams

Benjamin Kosnik bkoz@redhat.com
Thu Oct 16 06:36:00 GMT 2003



>The standard requires in several places that streamoff must be a
>typedef, so it is defined as
>  typedef class __streamoff streamoff;

Bummer, this.

>streamoff and fpos are in a new header bits/postypes.h; it seems
>more descriptive than fpos.h since streamoff is also a class type.

Yeah. Here are the mods to make it build cleanly and pass the testsuite....

I'm a bit worried about

off_type = pos_type 

no longer working. However,

off_type = off_type(pos_type)

seems conformant, as well as

off_type(pos_type)

Anyway.

-benjamin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20031016.patch
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20031016/79c96852/attachment.ksh>


More information about the Libstdc++ mailing list