Skip to content

Commit 868b0b2

Browse files
jensmaurertkoeppe
authored andcommitted
[std] Avoid hanging paragraphs by introducing "General" subclauses
Fixes ISO/CS comment (C++23 proof)
1 parent e86031d commit 868b0b2

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
@@ -1645,6 +1645,8 @@
16451645

16461646
\rSec2[fpos]{Class template \tcode{fpos}}
16471647

1648+
\rSec3[fpos.general]{General}
1649+
16481650
\indexlibraryglobal{fpos}%
16491651
\begin{codeblock}
16501652
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
@@ -5569,6 +5569,8 @@
55695569

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

5572+
\rSec4[coroutine.handle.noop.general]{General}
5573+
55725574
\indexlibraryglobal{coroutine_handle<noop_coroutine_promise>}%
55735575
\begin{codeblock}
55745576
namespace std {

0 commit comments

Comments
 (0)