Skip to content

Commit b4aaf88

Browse files
[basic.lval] Named bit-fields are objects
no need to mention them separately
1 parent 2408bf8 commit b4aaf88

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

source/basic.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3069,8 +3069,8 @@
30693069
\end{note}
30703070

30713071
\pnum
3072-
A \defn{memory location} is either an object of scalar type or a maximal
3073-
sequence of adjacent bit-fields all having nonzero width.
3072+
A \defn{memory location} is either an object of scalar type that is not a bit-field
3073+
or a maximal sequence of adjacent bit-fields all having nonzero width.
30743074
\begin{note}
30753075
Various
30763076
features of the language, such as references and virtual functions, might
@@ -3270,7 +3270,7 @@
32703270
\item is not a potentially-overlapping subobject, or
32713271
\item is not of class type, or
32723272
\item is of a class type with virtual member functions or virtual base classes, or
3273-
\item has subobjects of nonzero size or bit-fields of nonzero length.
3273+
\item has subobjects of nonzero size or unnamed bit-fields of nonzero length.
32743274
\end{itemize}
32753275
Otherwise, if the object is a base class subobject
32763276
of a standard-layout class type

source/expressions.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,12 @@
138138
\end{importgraphic}
139139

140140
\begin{itemize}
141-
\item A \defn{glvalue} is an expression whose evaluation determines the identity of an object, bit-field, or function.
142-
\item A \defn{prvalue} is an expression whose evaluation initializes an object or a bit-field,
141+
\item A \defn{glvalue} is an expression whose evaluation determines the identity of an object or function.
142+
\item A \defn{prvalue} is an expression whose evaluation initializes an object
143143
or computes the value of an operand of an operator,
144144
as specified by the context in which it appears,
145145
or an expression that has type \cv{}~\tcode{void}.
146-
\item An \defn{xvalue} is a glvalue that denotes an object or bit-field whose resources can be reused (usually because it is near the end of its lifetime).
146+
\item An \defn{xvalue} is a glvalue that denotes an object whose resources can be reused (usually because it is near the end of its lifetime).
147147
\item An \defn{lvalue} is a glvalue that is not an xvalue.
148148
\item An \defn{rvalue} is a prvalue or an xvalue.
149149
\end{itemize}

0 commit comments

Comments
 (0)