From -3048518150836010851
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,4aa07bccd99d934b
X-Google-Attributes: gidf78e5,public
From: James Kuyper <kuyper@wizard.net>
Subject: Re: Suggestions for improving the *Obtuse* Standard
Date: 1999/06/26
Message-ID: <37740559.F8B309E0@wizard.net>#1/1
X-Deja-AN: 494159188
X-NNTP-Posting-Host: gscsgi02.gsfc.nasa.gov
Content-Transfer-Encoding: 7bit
Approved: stephen.clamage@sun.com (comp.std.c++)
References: <930235591.934.103@news.remarQ.com> <TOMc3.33703$hk.919219@newscene.newscene.com>
X-Accept-Language: en, es, de, ru
Content-Type: text/plain; charset=us-ascii
Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA
Mime-Version: 1.0
Newsgroups: comp.std.c++
Originator: clamage@taumet


Al Stevens wrote:
...
> >The document should also include the relevent sections of the C standard;
> 
> Well, as far as the core language goes, the document thoroughly defines the
> language. It says what "int" and "for" mean, for example. Perhaps you can be
> more specific and point to something that is missing. Being a C/C++
> programmer, I might not have noticed where a vital specification is lacking.
> We tend not to miss that which we take for granted.

There aren't many features of the language itself which are left to the
C standard to define, but there are a few. I'm always surprised when I
find one, but I haven't been keeping a list.

However, virtually the entire portion of the C++ standard library that
is derived from the C standard library has been left up to the C
standard to specify. I find this inconvenient, particular since my copy
of the C standard describes C9X, rather than C89, which is the version
actually incorporated by reference into the C++ standard.

> The document quite properly leaves the library specification to the C
> document so that the two documents may enjoy their own ANSI-mandated cycles
> of evolution and publication. To include the C spec in the C++ spec would
> create an unadministrable effort that would almost guarantee that the C++
> spec would always be out of date and out of sync with the C spec.

It will be out of sync in a year or so anyway. The C++ standard
incorporates C89, and C9X is coming out "soon".


[ 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              ]




