Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!rutgers!sri-spam!sri-unix!hplabs!hpcea!hpda!hpirs!hpisod1!hpisoa1!hpisoa2!hppcgo!hpdsd!c From: c@hpdsd.UUCP (C Compiler Project(Debbie Coutant)) Newsgroups: net.lang.c Subject: Re: Expression sequencing query (better test) Message-ID: <1570004@hpdsd.UUCP> Date: Mon, 20-Oct-86 19:05:20 EST Article-I.D.: hpdsd.1570004 Posted: Mon Oct 20 19:05:20 1986 Date-Received: Tue, 4-Nov-86 01:30:55 EST References: <1223@bunker.UUCP> Lines: 13 There is a new operator in the proposed ANSI C standard that forces expression grouping, it is the unary plus operator. The unary plus is only useful for expressions that involve >1 uses of the same operator, for example: a+b+c With the unary plus operator a+b+c can be forced to be evaluated as (a+b)+c using the following: +(a+b) + c By ANSI's definition this will force (a+b) to be evaluated first. Looks like somebody thought of the order-of-evaluation problem and attempted to 'fix' it in the ANSI proposal already.