diff options
Diffstat (limited to 'contrib/iostream3/README')
-rw-r--r-- | contrib/iostream3/README | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/contrib/iostream3/README b/contrib/iostream3/README index 6f73d58..f7b319a 100644 --- a/contrib/iostream3/README +++ b/contrib/iostream3/README | |||
@@ -3,19 +3,19 @@ to do things like: | |||
3 | 3 | ||
4 | gzofstream outf("blah.gz"); | 4 | gzofstream outf("blah.gz"); |
5 | outf << "These go into the gzip file " << 123 << endl; | 5 | outf << "These go into the gzip file " << 123 << endl; |
6 | 6 | ||
7 | It does this by deriving a specialized stream buffer for gzipped files, which is | 7 | It does this by deriving a specialized stream buffer for gzipped files, which is |
8 | the way Stroustrup would have done it. :-> | 8 | the way Stroustrup would have done it. :-> |
9 | 9 | ||
10 | The gzifstream and gzofstream classes were originally written by Kevin Ruland | 10 | The gzifstream and gzofstream classes were originally written by Kevin Ruland |
11 | and made available in the zlib contrib/iostream directory. The older version still | 11 | and made available in the zlib contrib/iostream directory. The older version still |
12 | compiles under gcc 2.xx, but not under gcc 3.xx, which sparked the development of | 12 | compiles under gcc 2.xx, but not under gcc 3.xx, which sparked the development of |
13 | this version. | 13 | this version. |
14 | 14 | ||
15 | The new classes are as standard-compliant as possible, closely following the | 15 | The new classes are as standard-compliant as possible, closely following the |
16 | approach of the standard library's fstream classes. It compiles under gcc versions | 16 | approach of the standard library's fstream classes. It compiles under gcc versions |
17 | 3.2 and 3.3, but not under gcc 2.xx. This is mainly due to changes in the standard | 17 | 3.2 and 3.3, but not under gcc 2.xx. This is mainly due to changes in the standard |
18 | library naming scheme. The new version of gzifstream/gzofstream/gzfilebuf differs | 18 | library naming scheme. The new version of gzifstream/gzofstream/gzfilebuf differs |
19 | from the previous one in the following respects: | 19 | from the previous one in the following respects: |
20 | - added showmanyc | 20 | - added showmanyc |
21 | - added setbuf, with support for unbuffered output via setbuf(0,0) | 21 | - added setbuf, with support for unbuffered output via setbuf(0,0) |
@@ -23,7 +23,7 @@ from the previous one in the following respects: | |||
23 | - gzipped output file opened with default compression level instead of maximum level | 23 | - gzipped output file opened with default compression level instead of maximum level |
24 | - setcompressionlevel()/strategy() members replaced by single setcompression() | 24 | - setcompressionlevel()/strategy() members replaced by single setcompression() |
25 | 25 | ||
26 | The code is provided "as is", with the permission to use, copy, modify, distribute | 26 | The code is provided "as is", with the permission to use, copy, modify, distribute |
27 | and sell it for any purpose without fee. | 27 | and sell it for any purpose without fee. |
28 | 28 | ||
29 | Ludwig Schwardt | 29 | Ludwig Schwardt |