RE: [sv-bc] p1800/d6p1 comments, mostly editorial

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Thu Oct 27 2005 - 07:24:53 PDT
  

Ah, I see now. 

4.10.3 says that 

 

"Both the enumeration names and their integer values must be unique. The
values can be set to any integral constant

value, or auto-incremented from an initial value of 0. It is an error to
set two values to the same name, or to

set a value to the same auto-incremented value."

 

But the special mention of this earlier was confusing and unnecessary.

 

*       4.10, p.24: "If an automatically incremented value is assigned
elsewhere in the same enumeration, this shall be a syntax error." (It
may be an error, but I don't think it is an error of SYNTAX.) Is it an
error to explicitly assign the same value to two enum names? It does not
seem to say. Either way, it should be explicit.

Shalom



image001.gif
Received on Thu Oct 27 07:25:03 2005

This archive was generated by hypermail 2.1.8 : Thu Oct 27 2005 - 07:25:25 PDT