[sv-bc] "Assignment ... to a constant expression"

From: Brad Pierce <Brad.Pierce_at_.....>
Date: Tue Apr 22 2008 - 22:28:01 PDT
According to 10.5 of Draft 4 --

  "The variable declaration assignment is a special case of procedural
assignment as it assigns a value to a variable. It allows an initial
value to be placed in a variable in the same statement that declares the
variable. The assignment shall be to a constant expression."

What does it mean to assign "to a constant expression"?  Is this trying
to say that in a variable_decl_assignment, if the variable is static,
then the right-hand side shall be a constant expression?

-- Brad



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Apr 22 22:28:58 2008

This archive was generated by hypermail 2.1.8 : Tue Apr 22 2008 - 22:29:29 PDT