home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!news.belwue.de!news.uni-stuttgart.de!news
- From: LANG@129.69.123.1 (MARTIN LANG)
- Subject: RE: ztc 3.0 bug Ternary operator & chars
- Message-ID: <1992Jul21.070508.3913@news.uni-stuttgart.de>
- Sender: news@news.uni-stuttgart.de (USENET News System)
- Organization: University of Stuttgart, IND
- Date: Tue, 21 Jul 1992 07:05:08 GMT
- X-News-Reader: VMS NEWS 1.20
- Lines: 5
-
- This behavior is not a bug. The ternary operator evaluates arithmetic
- expressions. Your character constants are handled as expressions and
- typecasted. That is the standard. (see ARM page 78)
-
- Martin
-