Submitter:J. Benito (convener)
Submission Date: 2003-09-18
Source: Convener
Reference Document: ISO/IEC
WG14 N1025
Version: 1.3
Date: 2006-04-04
Subject:Use of the word variable.
Summary
Change the use of variable to object in those instances where the Standard is referring to an object.Suggested Technical Corrigendum
EXAMPLE 2, 5.1.2.3, change
the value of each variable to size intto
the value of each object to size int
Footnote 41, change
Thus, an automatic variable can be initialized to a trap representation without causing undefined behavior, but the value of the variable cannot be used until a proper value is stored in it.to
Thus, an automatic object can be initialized to a trap representation without causing undefined behavior, but the value of the object cannot be used until a proper value is stored in it.
EXAMPLE 1, 6.5.16.1, change
Therefore, for full portability, the variable c should be declared as int.to
Therefore, for full portability, the object c should be declared as int.
EXAMPLE, 6.7.5.1, change
EXAMPLE The following pair of declarations demonstrates the difference between a ``variable pointer to a constant value'' and a ``constant pointer to a variable value''.to
EXAMPLE The following pair of declarations demonstrates the difference between a ``object pointer to a constant value'' and a ``constant pointer to a object value''.
6.8.5.3 #1, change
If clause-1 is a declaration, the scope of any variables it declares is the remainder of the declaration and the entire loop, including the other two expressions;to
If clause-1 is a declaration, the scope of any objects it declares is the remainder of the declaration and the entire loop, including the other two expressions;
Footnote 134, change
Thus, clause-1 specifies initialization for the loop, possibly declaring one or more variables for use in the loop;to
Thus, clause-1 specifies initialization for the loop, possibly declaring one or more objects for use in the loop;
Footnote 165, change
For a variable z of complex type, z == creal(z) + cimag(z)*I.to
For the object z of complex type, z == creal(z) + cimag(z)*I.
Footnote 166, change
For a variable z of complex type, z == creal(z) + cimag(z)*I.to
For the object z of complex type, z == creal(z) + cimag(z)*I.
7.6, #1, change
A floating-point status flag is a system variable whose value is set (but never cleared) when a floating-point exception is raised,to
A floating-point status flag is a system object whose value is set (but never cleared) when a floating-point exception is raised,
7.6, #1, change
A floating-point control mode is a system variable whose value may be set by the user to affect the subsequent behavior of floating-point arithmetic.to
A floating-point control mode is a system object whose value may be set by the user to affect the subsequent behavior of floating-point arithmetic.
F.8.1, change
The flags and modes in the floating-point environment may be regarded as global variables;to
The flags and modes in the floating-point environment may be regarded as global objects;
Footnote 308, change
Use of float_t and double_t variables increases the likelihood of translation-time computation.to
Use of float_t and double_t objects increases the likelihood of translation-time computation.
Annex I #2, bullet 11, change
or an enumeration variable that has the same typeto
or an enumeration object that has the same type
Committee Discussion
Technical Corrigendum
6.8.5.3 #1, change
If clause-1 is a declaration, the scope of any variables it declares is the remainder of the declaration and the entire loop, including the other two expressions;to
If clause-1 is a declaration, the scope of any identifiers it declares is the remainder of the declaration and the entire loop, including the other two expressions;
Annex I #2, bullet 11, change
or an enumeration variable that has the same typeto
or an enumeration object that has the same type