Hi,
Please help to clarify Table 3-3 Enum Element Ranges on page 19
of SV3.1a LRM.
Question 1: Do 'integral constant' and 'integral literal constant'
mean the same thing?
In name[N], N must be an integral constant.
In name[N] = C, N must be an integral literal constant.
Question 2: Are the following examples allowed?
name[1+1] // Is (1+1) an integral literal constant?
name[-1]
name[0]
Does the LRM require N to be a positive integral constant expression
over the integral literal(s)?
Thanks for the help.
Regards,
Andy
Received on Tue Jul 20 12:43:00 2004
This archive was generated by hypermail 2.1.8 : Tue Jul 20 2004 - 12:43:21 PDT