From -2551661908073078864
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,975e78bef1b26ee8
X-Google-Attributes: gidf78e5,public
From: Oleg Zabluda <zabluda@math.psu.edu>
Subject: Re: iostream -> FILE*
Date: 1998/05/23
Message-ID: <6k4shq$gpl@marianna.psu.edu>#1/1
X-Deja-AN: 355779220
Approved: Fergus Henderson <fjh@cs.mu.oz.au>
References: <3561480D.18DAE41D@acco.net> <6jv28m$u37$1@nnrp1.dejanews.com> <6k0nmi$sfb$1@mulga.cs.mu.OZ.AU>
X-Original-Date: 22 May 1998 18:00:26 -0400
X-Server-Date: 23 May 1998 01:20:32 GMT
Organization: Penn State University, Center for Academic Computing
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUANWZzDuEDnX0m9pzZAQEkTgF8Cbdjekt4p7wE937U7HTY96e3/ilVVPVF eduQwG1koe0DiC9AIBOfHqcsDPyLP1Pv =T5E0
Reply-To: zabluda@math.psu.edu (Oleg Zabluda)
Newsgroups: comp.std.c++


Andrew_J ROBBIE <ajrobb@ecr.mu.oz.au> wrote:
: But huge amounts of code are written for un*x systems - systems for
: which C++ programmers need a standard way of doing things. Couldn't
: there be stream specialisations for each API? And couldn't the
: standard provide an 'example' specialisation for posix-type systems?
: Sure, compilers can provide extensions, but can't compiler vendors
: be guided in the same direction?

The C/C++ language standard is produced by ANSI/ISO C/C++ language
standartization committies. Unix/Posix extentions are created
by other people for totally different purposes. It is not
a job of a language committee to provide a Posix API as well.

Now that C++ standard is really close, I hope Posix people will
come together and define Posix extentions and possibly Posix
C++ API. The former would include an ability to extract
a file descriptor from an fstream, and the later would
include a good C++ interface for common Posix C functions
and structures. 

Oleg.
-- 
Life is a sexually transmitted, 100% lethal disease.
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]



