From -647953260108480909
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,20d4605c5c59d328,start
X-Google-Attributes: gidf78e5,public
From: Zhiming Zhou <zhou02@UTSW.SWMED.EDU>
Subject: Operator precedence
Date: 1998/01/29
Message-ID: <34D0D0B5.BFB28C88@utsw.swmed.edu>#1/1
X-Deja-AN: 320342403
X-Original-Date: Thu, 29 Jan 1998 12:55:49 -0600
Organization: University of Texas Southwestern Medical Center at Dallas
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBVAwUBNNDTbky4NqrwXLNJAQHiwgIAjBLq6kiGHuiQa/HW9zHJBO9OiAntJn04 UjyClxQ+Wc7hCqeqyx42sPyCZ6NZ7ON339lMWZg2AWVSZelcHr5B0Q== =6ZKn
Newsgroups: comp.std.c++
Originator: austern@isolde.mti.sgi.com


In many books, including "The C++ Programming language, 2ed" (pp. 90),
conditional operator (? :) has higher precedence than assignment (=).
However, in the book "The C++ Programming language, 3ed" (pp. 121), it's

the other way around. Can somebody tell me why?
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your 
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu 
]



