unary +

ed gokhman esg at mtx5a.UUCP
Wed Mar 5 01:45:53 AEST 1986


Hi:

The ANSI draft makes case for the unary + operator with
the following example:

An expression a + (b + c) may be calculated by some
implementations as (a + b) + c. To enforce the
intended precedence of operations one should use
a + +(b + c).

Question: what is the rational for not saying that an
	implementation *must* respect parenthesising
	as intended rather then providing an extra
	operator simply to state "i mean these parenthesis" ?


				Thanx in advance,
				Ed Gokhman



More information about the Comp.lang.c mailing list