home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / cplus / 11639 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  890 b 

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