🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.lib.bug
Article #27

Re: Plans on iostream-lib

#27
From: bothner
Date: Tue, 04 Aug 1992 07:34
32 lines
1585 bytes
marc@pxcl1.gi.rwth-aachen.de (Marc van Woerkom) writes:

> -> Is it a future goal, to make the iostream package more compatible
>    with cfront's one?  (e.g. the examples in Stroustrup's C++PL2)

Somewhat.  The next release will use multiple inhertiance,
and template-based iomanipulators.  Which specific example
in C++PL2 doesn't work?

> -> Are there plans for a 'binary filemode', to allow more general
>   I/O?

I don't know.  What is a "binary filemode" (for Unix) and why do you
need it?

> -> Is it possible to extend the documentation with some examples?

Yes, please do so ...

> -> Do you think it's realistic to do all I/O with the iostream
>   package or will there still be need for C way?

If your're calling C functions that except a (FILE*) argument, then
you will need to do I/O the C way ...

Otherwise, note that libg++/iostream/stdio contains a *complete*
implementation of stdio built *on top of* the streambuf classes
in libg++/iostream.  This the the stdio implementation used in Linux,
so it is clearly realistic to do all I/O with the iostream package.

	--Per Bothner
Cygnus Support     bothner@cygnus.com
Technical Details
Message-ID: <9208042134.AA18130@cygnus.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cygnus.com!bothner
References: <9208031929.AA01960@pxcl1.gi.rwth-aachen.de>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cygnus.com!bothner
From: bothner@cygnus.com
Subject: Re: Plans on iostream-lib
Message-ID: <9208042134.AA18130@cygnus.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
References: <9208031929.AA01960@pxcl1.gi.rwth-aachen.de>
Distribution: gnu
Date: Tue, 4 Aug 1992 07:34:47 GMT
Approved: bug-lib-g++@prep.ai.mit.edu
Lines: 33