home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.std.c++:2138 comp.lang.c++:20050
- Path: sparky!uunet!ogicse!decwrl!pa.dec.com!engage.pko.dec.com!nntpd.lkg.dec.com!cyteen.zko.dec.com!insinga
- From: insinga@cyteen.zko.dec.com (Aron K Insinga)
- Newsgroups: comp.std.c++,comp.lang.c++
- Subject: Re: RESULTS: C++ file extension survey
- Message-ID: <1993Jan27.192512.1571@nntpd.lkg.dec.com>
- Date: 27 Jan 93 19:25:12 GMT
- Article-I.D.: nntpd.1993Jan27.192512.1571
- References: <1if5q2INN8pj@tsavo.hks.com> <1993Jan13.152439.17208@medtron.medtronic.com> <1993Jan14.164336.23286@taumet.com>
- Sender: usenet@nntpd.lkg.dec.com (USENET News System)
- Reply-To: insinga@cyteen.zko.dec.com (Aron K Insinga)
- Organization: Digital Equipment Corporation
- Lines: 28
-
-
- In article <1993Jan14.164336.23286@taumet.com>, steve@taumet.com (Steve
- Clamage) writes:
- |> This presupposes the common model of separate text files which are
- |> processed by an identifiable compiler program, and that the text
- |> files are kept in a file system using names files containing a
- |> user-definable extension.
- |>
- |> Absolutely none of this is required by the C++ language, so you
- |> can't
- |> put the required file extension in the C++ language standard.
- |> --
- |>
- |> Steve Clamage, TauMetric Corp, steve@taumet.com
-
- If I may divert discussion from the name of a compilation unit to a header...
-
- I disagree; the C standard supports the characters ".h" on the end of stuff
- between angle brackets in #include preprocessor directives; do you think that
- the C standard "presupposes the common model of separate text files"?
-
- Of course, the alternate solution to this favored by the C++ committee(s)
- (the last I heard; apologies if this solution has already been discussed here)
- is to not require such characters on the end of the standard headers' names,
- e.g. #include <iostream> (and if the implementation keeps these in files with
- some particular file extension, it can supply the extension).
-
- - Aron Insinga, insinga@tle.enet.dec.com
-