Skip to content

Commit c5fa1ff

Browse files
committed
[std] Introduce the label 'term.padding.bits'
1 parent 8898a58 commit c5fa1ff

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

source/atomics.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1918,7 +1918,7 @@
19181918
\begin{note}
19191919
For example, the effect of
19201920
\tcode{compare_exchange_strong}
1921-
on objects without padding bits\iref{basic.types} is
1921+
on objects without padding bits\iref{term.padding.bits} is
19221922
\begin{codeblock}
19231923
if (memcmp(this, &expected, sizeof(*this)) == 0)
19241924
memcpy(this, &desired, sizeof(*this));

source/basic.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4603,6 +4603,7 @@
46034603
The \defnx{value representation}{representation!value}
46044604
of an object of type \tcode{T} is the set of bits
46054605
that participate in representing a value of type \tcode{T}.
4606+
\label{term.padding.bits}%
46064607
Bits in the object representation that are not part of the value representation
46074608
are \defn{padding bits}.
46084609
For trivially copyable types, the value representation is

source/classes.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2823,7 +2823,7 @@
28232823
If the width of a bit-field is larger than
28242824
the width of the bit-field's type
28252825
(or, in case of an enumeration type, of its underlying type),
2826-
the extra bits are padding bits\iref{basic.types}.
2826+
the extra bits are padding bits\iref{term.padding.bits}.
28272827
\indextext{allocation!implementation-defined bit-field}%
28282828
Allocation of bit-fields within a class object is
28292829
\impldef{allocation of bit-fields within a class object}.

source/declarations.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4383,7 +4383,7 @@
43834383
if
43844384
\tcode{T}
43854385
is a (possibly cv-qualified) non-union class type,
4386-
its padding bits\iref{basic.types} are initialized to zero bits and
4386+
its padding bits\iref{term.padding.bits} are initialized to zero bits and
43874387
each non-static data member,
43884388
each non-virtual base class subobject, and,
43894389
if the object is not a base class subobject,
@@ -4394,7 +4394,7 @@
43944394
if
43954395
\tcode{T}
43964396
is a (possibly cv-qualified) union type,
4397-
its padding bits\iref{basic.types} are initialized to zero bits and
4397+
its padding bits\iref{term.padding.bits} are initialized to zero bits and
43984398
the
43994399
object's first non-static named
44004400
data member

0 commit comments

Comments
 (0)