home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / cplus / 11208 < prev    next >
Encoding:
Text File  |  1992-07-20  |  653 b   |  17 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!news.belwue.de!news.uni-stuttgart.de!news
  3. From: LANG@129.69.123.1 (MARTIN LANG)
  4. Subject: RE: ztc 3.0 bug Ternary operator & chars
  5. Message-ID: <1992Jul21.070508.3913@news.uni-stuttgart.de>
  6. Sender: news@news.uni-stuttgart.de (USENET News System)
  7. Organization: University of Stuttgart, IND
  8. Date: Tue, 21 Jul 1992 07:05:08 GMT
  9. X-News-Reader: VMS NEWS 1.20
  10. Lines: 5
  11.  
  12. This behavior is not a bug. The ternary operator evaluates arithmetic 
  13. expressions. Your character constants are handled as expressions and
  14. typecasted. That is the standard. (see ARM page 78)
  15.  
  16.  Martin
  17.