home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!rpi!bu.edu!att!att!allegra!alice!ark
- From: ark@alice.att.com (Andrew Koenig)
- Newsgroups: comp.lang.c++
- Subject: Re: zero-length datatype
- Message-ID: <23650@alice.att.com>
- Date: 10 Sep 92 17:36:24 GMT
- References: <TMB.92Sep8141523@arolla.idiap.ch> <4947@holden.lulea.trab.se> <HAYDENS.92Sep9215705@bullwinkle.juliet.ll.mit.edu> <TMB.92Sep10120206@arolla.idiap.ch>
- Reply-To: ark@alice.UUCP ()
- Distribution: comp
- Organization: AT&T Bell Laboratories, Murray Hill NJ
- Lines: 12
-
- There is one problem with `void' as a true datatype that I have not
- been able to solve: ISO C says that
-
- void f(void);
-
- is a function with no arguments at all and C++ therefore follows suit.
- Making void into a true type would therefore require some compatibility
- warts; it is not clear exactly what would be necessary or what effect it
- would have on the rest of the language.
- --
- --Andrew Koenig
- ark@europa.att.com
-