Skip to content

Commit f547450

Browse files
languagelawyerzygoloid
authored andcommitted
[std] Move \rSec to before \indextext (#4116)
1 parent dbdb123 commit f547450

File tree

8 files changed

+17
-16
lines changed

8 files changed

+17
-16
lines changed

source/atomics.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2722,8 +2722,8 @@
27222722
Equivalent to: \tcode{return fetch_sub(1) - 1;}
27232723
\end{itemdescr}
27242724

2725+
\rSec2[util.smartptr.atomic]{Partial specializations for smart pointers}%
27252726
\indextext{atomic!smart pointers|(}%
2726-
\rSec2[util.smartptr.atomic]{Partial specializations for smart pointers}
27272727

27282728
\rSec3[util.smartptr.atomic.general]{General}
27292729

source/basic.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,12 +281,12 @@
281281
an abstract class type\iref{class.abstract}, or
282282
a (possibly multi-dimensional) array thereof.
283283

284+
\rSec1[basic.def.odr]{One-definition rule}%
284285
\indextext{object!definition}%
285286
\indextext{function!definition}%
286287
\indextext{class!definition}%
287288
\indextext{enumerator!definition}%
288289
\indextext{one-definition rule|(}%
289-
\rSec1[basic.def.odr]{One-definition rule}
290290

291291
\pnum
292292
No translation unit shall contain more than one definition of any

source/containers.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2162,9 +2162,9 @@
21622162
and a type that qualifies as an allocator is deduced for that parameter.
21632163
\end{itemize}
21642164

2165+
\rSec3[associative.reqmts.except]{Exception safety guarantees}%
21652166
\indextext{associative containers!exception safety}%
21662167
\indextext{associative containers!requirements}%
2167-
\rSec3[associative.reqmts.except]{Exception safety guarantees}
21682168

21692169
\pnum
21702170
For associative containers, no \tcode{clear()} function throws an exception.
@@ -2181,9 +2181,9 @@
21812181
that exception is thrown by the
21822182
swap of the container's \tcode{Compare} object (if any).
21832183

2184+
\rSec2[unord.req]{Unordered associative containers}%
21842185
\indextext{associative containers!unordered|see{unordered associative containers}}
21852186
\indextext{hash tables|see{unordered associative containers}}
2186-
\rSec2[unord.req]{Unordered associative containers}
21872187

21882188
\rSec3[unord.req.general]{General}
21892189

source/future.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,8 +404,8 @@
404404
unless the function's \throws element
405405
specifies throwing an exception when the precondition is violated.
406406

407+
\rSec1[depr.relops]{Relational operators}%
407408
\indexlibraryglobal{rel_ops}%
408-
\rSec1[depr.relops]{Relational operators}
409409

410410
\pnum
411411
The header \libheaderref{utility} has the following additions:

source/intro.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
management operators, and additional library facilities.%
2222
\indextext{scope|)}
2323

24+
\rSec0[intro.refs]{Normative references}%
2425
\indextext{normative references|see{references, normative}}%
25-
\rSec0[intro.refs]{Normative references}
2626

2727
\pnum
2828
\indextext{references!normative|(}%
@@ -672,6 +672,7 @@
672672

673673
\rSec0[intro]{General principles}
674674

675+
\rSec1[intro.compliance]{Implementation compliance}%
675676
\indextext{diagnostic message|see{message, diagnostic}}%
676677
\indexdefn{conditionally-supported behavior|see{behavior, con\-ditionally-supported}}%
677678
\indextext{dynamic type|see{type, dynamic}}%
@@ -693,7 +694,6 @@
693694
\indextext{precedence of operator|see{operator, precedence of}}%
694695
\indextext{order of evaluation in expression|see{expression, order of evaluation of}}%
695696
\indextext{multiple threads|see{threads, multiple}}%
696-
\rSec1[intro.compliance]{Implementation compliance}
697697

698698
\rSec2[intro.compliance.general]{General}
699699

source/support.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2710,8 +2710,8 @@
27102710

27112711
\rSec2[alloc.errors]{Storage allocation errors}
27122712

2713+
\rSec3[bad.alloc]{Class \tcode{bad_alloc}}%
27132714
\indexlibraryglobal{bad_alloc}%
2714-
\rSec3[bad.alloc]{Class \tcode{bad_alloc}}
27152715

27162716
\indexlibraryctor{bad_alloc}%
27172717
\begin{codeblock}
@@ -2741,9 +2741,9 @@
27412741
An \impldef{return value of \tcode{bad_alloc::what}} \ntbs{}.
27422742
\end{itemdescr}
27432743

2744+
\rSec3[new.badlength]{Class \tcode{bad_array_new_length}}%
27442745
\indexlibraryglobal{bad_array_new_length}%
27452746
\indexlibraryctor{bad_array_new_length}%
2746-
\rSec3[new.badlength]{Class \tcode{bad_array_new_length}}
27472747

27482748
\begin{codeblock}
27492749
namespace std {

source/threads.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,8 @@
373373
\end{codeblock}
374374

375375

376+
\rSec2[stoptoken]{Class \tcode{stop_token}}%
376377
\indexlibraryglobal{stop_token}%
377-
\rSec2[stoptoken]{Class \tcode{stop_token}}
378378

379379
\rSec3[stoptoken.general]{General}
380380

@@ -569,8 +569,8 @@
569569
Equivalent to: \tcode{x.swap(y)}.
570570
\end{itemdescr}
571571

572+
\rSec2[stopsource]{Class \tcode{stop_source}}%
572573
\indexlibraryglobal{stop_source}%
573-
\rSec2[stopsource]{Class \tcode{stop_source}}
574574

575575
\rSec3[stopsource.general]{General}
576576

@@ -840,8 +840,8 @@
840840
Equivalent to: \tcode{x.swap(y)}.
841841
\end{itemdescr}
842842

843+
\rSec2[stopcallback]{Class template \tcode{stop_callback}}%
843844
\indexlibraryglobal{stop_callback}%
844-
\rSec2[stopcallback]{Class template \tcode{stop_callback}}
845845

846846
\rSec3[stopcallback.general]{General}
847847

source/utilities.tex

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4009,8 +4009,8 @@
40094009
}
40104010
\end{codeblock}
40114011

4012+
\rSec2[variant.variant]{Class template \tcode{variant}}%
40124013
\indexlibraryglobal{variant}%
4013-
\rSec2[variant.variant]{Class template \tcode{variant}}
40144014

40154015
\rSec3[variant.variant.general]{General}
40164016

@@ -5160,8 +5160,8 @@
51605160
no complexity requirements.
51615161
\end{itemdescr}
51625162

5163+
\rSec2[variant.monostate]{Class \tcode{monostate}}%
51635164
\indexlibraryglobal{monostate}%
5164-
\rSec2[variant.monostate]{Class \tcode{monostate}}
51655165

51665166
\begin{itemdecl}
51675167
struct monostate{};
@@ -5214,8 +5214,8 @@
52145214
The expression inside \tcode{noexcept} is equivalent to \tcode{noexcept(v.swap(w))}.
52155215
\end{itemdescr}
52165216

5217+
\rSec2[variant.bad.access]{Class \tcode{bad_variant_access}}%
52175218
\indexlibraryglobal{bad_variant_access}%
5218-
\rSec2[variant.bad.access]{Class \tcode{bad_variant_access}}
52195219

52205220
\begin{codeblock}
52215221
class bad_variant_access : public exception {
@@ -9636,8 +9636,9 @@
96369636
\tcode{os}.
96379637
\end{itemdescr}
96389638

9639+
\rSec2[util.smartptr.weak.bad]{Class \tcode{bad_weak_ptr}}%
96399640
\indextext{smart pointers|(}%
9640-
\rSec2[util.smartptr.weak.bad]{Class \tcode{bad_weak_ptr}}
9641+
96419642
\indexlibraryglobal{bad_weak_ptr}%
96429643
\begin{codeblock}
96439644
namespace std {

0 commit comments

Comments
 (0)