[RFC] Large file iostreams
Thu Oct 16 17:47:00 GMT 2003
On Thu, Oct 16, 2003 at 12:27:17PM -0500, Benjamin Kosnik wrote:
> >> >The standard requires in several places that streamoff must be a
> >> >typedef, so it is defined as
> >> > typedef class __streamoff streamoff;
> >> Bummer, this.
> >Yes, it doesn't seem to serve any real purpose.
> ..and there doesn't seem to be a way to test that streamoff is not a
> typedef, and instead a type via class defined in std. Why should we
> bother with the __streamoff bits when it can be class streamoff?
I believe that
typedef struct streamoff streamoff;
is legal C++.
(Apologies to everybody for being out of touch.)
More information about the Libstdc++