home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!mintaka.lcs.mit.edu!mintaka!rjbodkin
- From: rjbodkin@theory.lcs.mit.edu (Ronald Bodkin)
- Newsgroups: comp.lang.c++
- Subject: Re: boolean (was: Re: typedef vs enum)
- Message-ID: <RJBODKIN.92Jul27182159@lister.lcs.mit.edu>
- Date: 27 Jul 92 23:21:59 GMT
- References: <23216@alice.att.com> <1992Jul19.132514.6351@ucc.su.OZ.AU>
- <23239@alice.att.com> <1992Jul20.032111.22387@ucc.su.OZ.AU>
- Sender: news@mintaka.lcs.mit.edu
- Organization: MIT Lab for Computer Science
- Lines: 8
- In-Reply-To: maxtal@extro.ucc.su.OZ.AU's message of 20 Jul 92 03:21:11 GMT
-
- In article <1992Jul20.032111.22387@ucc.su.OZ.AU> maxtal@extro.ucc.su.OZ.AU (John MAX Skaller) writes:
- NOW if you add f(bool), it gets called by preference.
-
- But then f(23) becomes f(TRUE), which might still cause
- problems, as in:
- int condition(int errno); // 0 = no error
- int condition(bool ok); // TRUE = no error
- Ron
-