Opened 21 years ago

Last modified 12 years ago

#930 closed Feature Requests (fixed)

iostream and zlib — at Version 3

Reported by: jorma9@… Owned by: nobody
Milestone: Component: iostreams
Version: None Severity: Optimization
Keywords: Cc: technews@…

Description (last modified by Dave Abrahams)

I've successfully used (only slightly modified) classes
gzifstream and
gzofstream in SGI IRIX and GNU Linux environments.  The
code was
obtained from directory zlib-1.1.3/contrib/iostream of
http://www.info-zip.org/pub/infozip/zlib/zlib.tar.gz .

Now it seems to me that the code won't compile with
standard iostream classes.  Has anyone made the
necessary changes to compile it ? Or, does someone know
that it won't be possible to make it work again ? Or,
is there a better solution for that need, ie. to have a
pair of classes derived from istream and ostream that
allow compression and uncompression on the fly ?

Yours,

Jorma Laaksonen

Change History (3)

comment:1 by nobody, 21 years ago

Logged In: NO 

I wrote a class which compiles with the standard library.
(gcc-3.0) It follows mainly the book from Langer and Kreft
Standard C++ IOStreams and Locales. It works for me 
but it could need further testing and perhaps a bit of 
optimisation. If your are interested just send an email.

Yours Peter Maunz


comment:2 by jmaurer, 21 years ago

Logged In: YES 
user_id=53943

I believe a facility like this is useful.  Please join the
boost mailing list, hosted on www.yahoogroups.com, and post
your suggestion there.

Jens Maurer

comment:3 by Dave Abrahams, 15 years ago

Cc: technews@… added
Description: modified (diff)
Reporter: changed from jorma9 to jorma9@…
Severity: Showstopper

This is probably outdated; if Jonathan Turkanis doesn't address this ticket soon it should probably be closed.

Note: See TracTickets for help on using tickets.