(j3.2006) are selectors allowed to be procedures ?

Van Snyder Van.Snyder
Thu Oct 22 20:50:22 EDT 2009


On Thu, 2009-10-22 at 14:16 -0700, Jim Xia wrote:
> "func(10)" is an expression, is it not?  Then what is X? 

X is the name of the value of "func(10)".

Because of [171:8-9 8.1.3.3p2], X cannot appear in a variable-definition
context, unless func(10) returns a pointer result, because the target of
a pointer -- if it has a target -- is always a variable.

-- 
Van Snyder                    |  What fraction of Americans believe 
Van.Snyder at jpl.nasa.gov       |  Wrestling is real and NASA is fake?
Any alleged opinions are my own and have not been approved or
disapproved by JPL, CalTech, NASA, the President, or anybody else.




More information about the J3 mailing list