Skip to content

Commit 65546fa

Browse files
committed
[std] Avoid hanging paragraphs by introducing General subclauses
Fixes ISO/CS comment (C++23 proof)
1 parent 85f4bb4 commit 65546fa

File tree

5 files changed

+18
-0
lines changed

5 files changed

+18
-0
lines changed

source/expressions.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,6 +1207,8 @@
12071207
\rSec1[expr.prim]{Primary expressions}%
12081208
\indextext{expression!primary|(}
12091209

1210+
\rSec2[expr.prim.grammar]{Grammar}
1211+
12101212
\begin{bnf}
12111213
\nontermdef{primary-expression}\br
12121214
literal\br

source/iostreams.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1641,6 +1641,8 @@
16411641

16421642
\rSec2[fpos]{Class template \tcode{fpos}}
16431643

1644+
\rSec3[fpos.general]{General}
1645+
16441646
\indexlibraryglobal{fpos}%
16451647
\begin{codeblock}
16461648
namespace std {

source/iterators.tex

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3842,6 +3842,8 @@
38423842

38433843
\rSec3[back.insert.iterator]{Class template \tcode{back_insert_iterator}}
38443844

3845+
\rSec4[back.insert.iter.general]{General}
3846+
38453847
\indexlibraryglobal{back_insert_iterator}%
38463848
\begin{codeblock}
38473849
namespace std {
@@ -3953,6 +3955,8 @@
39533955

39543956
\rSec3[front.insert.iterator]{Class template \tcode{front_insert_iterator}}
39553957

3958+
\rSec4[front.insert.iter.general]{General}
3959+
39563960
\indexlibraryglobal{front_insert_iterator}%
39573961
\begin{codeblock}
39583962
namespace std {
@@ -4064,6 +4068,8 @@
40644068

40654069
\rSec3[insert.iterator]{Class template \tcode{insert_iterator}}
40664070

4071+
\rSec4[insert.iter.general]{General}
4072+
40674073
\indexlibraryglobal{insert_iterator}%
40684074
\begin{codeblock}
40694075
namespace std {

source/locales.tex

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3614,6 +3614,8 @@
36143614

36153615
\rSec3[locale.time.put]{Class template \tcode{time_put}}
36163616

3617+
\rSec4[locale.time.put.general]{General}
3618+
36173619
\indexlibraryglobal{time_put}%
36183620
\begin{codeblock}
36193621
namespace std {
@@ -3778,6 +3780,8 @@
37783780

37793781
\rSec3[locale.money.get]{Class template \tcode{money_get}}
37803782

3783+
\rSec4[locale.money.get.general]{General}
3784+
37813785
\indexlibraryglobal{money_get}%
37823786
\begin{codeblock}
37833787
namespace std {
@@ -3945,6 +3949,8 @@
39453949

39463950
\rSec3[locale.money.put]{Class template \tcode{money_put}}
39473951

3952+
\rSec4[locale.money.put.general]{General}
3953+
39483954
\indexlibraryglobal{money_put}%
39493955
\begin{codeblock}
39503956
namespace std {

source/support.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5566,6 +5566,8 @@
55665566

55675567
\rSec3[coroutine.handle.noop]{Class \tcode{coroutine_handle<noop_coroutine_promise>}}
55685568

5569+
\rSec4[coroutine.handle.noop.general]{General}
5570+
55695571
\indexlibraryglobal{coroutine_handle<noop_coroutine_promise>}%
55705572
\begin{codeblock}
55715573
namespace std {

0 commit comments

Comments
 (0)