Skip to content

Commit 66e3b8f

Browse files
committed
[basic.stc.inherit] Dissolve paragraph into [...general]
The whole subclause [basic.stc.inherit] is a single sentence that belongs adjacent to the material in [basic.std.general] that specifies how entities acquire a storage duration, wheras all the remaining subclauses below [basic.stc] describe specific storage durations. Folding that sentence directly into the general clause is even clearer.
1 parent eb9872a commit 66e3b8f

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

source/basic.tex

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3912,6 +3912,12 @@
39123912
\pnum
39133913
The storage duration categories apply to references as well.
39143914

3915+
\pnum
3916+
\indextext{storage duration!class member}%
3917+
The storage duration of subobjects and reference members
3918+
is that of their complete object\iref{intro.object}.
3919+
\indextext{storage duration|)}%
3920+
39153921
\rSec3[basic.stc.static]{Static storage duration}
39163922

39173923
\pnum
@@ -4244,14 +4250,6 @@
42444250
deallocation function shall deallocate the storage referenced by the
42454251
pointer, ending the duration of the region of storage.
42464252

4247-
\rSec3[basic.stc.inherit]{Duration of subobjects}
4248-
4249-
\pnum
4250-
\indextext{storage duration!class member}%
4251-
The storage duration of subobjects and reference members
4252-
is that of their complete object\iref{intro.object}.
4253-
\indextext{storage duration|)}%
4254-
42554253
\rSec2[basic.align]{Alignment}
42564254

42574255
\pnum

source/xrefdelta.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@
9595
\movedxref{stoptoken.cons}{stopsource}
9696
\movedxref{stoptoken.nonmembers}{stopsource}
9797

98+
% https://github.com/cplusplus/draft/pull/7345
99+
\movedxref{basic.stc.inherit}{basic.stc.general}
100+
98101
%%% Deprecated features.
99102
%%% Example:
100103
%

0 commit comments

Comments
 (0)