Skip to content

Commit

Permalink
[std] Avoid hanging paragraphs by introducing "General" subclauses
Browse files Browse the repository at this point in the history
Fixes ISO/CS comment (C++23 proof)
  • Loading branch information
jensmaurer committed May 13, 2024
1 parent 85f4bb4 commit 5a3481a
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/expressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1207,6 +1207,8 @@
\rSec1[expr.prim]{Primary expressions}%
\indextext{expression!primary|(}

\rSec2[expr.prim.grammar]{Grammar}

\begin{bnf}
\nontermdef{primary-expression}\br
literal\br
Expand Down
2 changes: 2 additions & 0 deletions source/iostreams.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1641,6 +1641,8 @@

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

\rSec3[fpos.general]{General}

\indexlibraryglobal{fpos}%
\begin{codeblock}
namespace std {
Expand Down
6 changes: 6 additions & 0 deletions source/iterators.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3842,6 +3842,8 @@

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

\rSec4[back.insert.iter.general]{General}

\indexlibraryglobal{back_insert_iterator}%
\begin{codeblock}
namespace std {
Expand Down Expand Up @@ -3953,6 +3955,8 @@

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

\rSec4[front.insert.iter.general]{General}

\indexlibraryglobal{front_insert_iterator}%
\begin{codeblock}
namespace std {
Expand Down Expand Up @@ -4064,6 +4068,8 @@

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

\rSec4[insert.iter.general]{General}

\indexlibraryglobal{insert_iterator}%
\begin{codeblock}
namespace std {
Expand Down
6 changes: 6 additions & 0 deletions source/locales.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3614,6 +3614,8 @@

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

\rSec4[locale.time.put.general]{General}

\indexlibraryglobal{time_put}%
\begin{codeblock}
namespace std {
Expand Down Expand Up @@ -3778,6 +3780,8 @@

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

\rSec4[locale.money.get.general]{General}

\indexlibraryglobal{money_get}%
\begin{codeblock}
namespace std {
Expand Down Expand Up @@ -3945,6 +3949,8 @@

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

\rSec4[locale.money.put.general]{General}

\indexlibraryglobal{money_put}%
\begin{codeblock}
namespace std {
Expand Down
2 changes: 2 additions & 0 deletions source/support.tex
Original file line number Diff line number Diff line change
Expand Up @@ -5566,6 +5566,8 @@

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

\rSec4[coroutine.handle.noop.general]{General}

\indexlibraryglobal{coroutine_handle<noop_coroutine_promise>}%
\begin{codeblock}
namespace std {
Expand Down

0 comments on commit 5a3481a

Please sign in to comment.