Skip to content

Commit f0e7cdd

Browse files
jensmaurertkoeppe
authored andcommitted
[smartptr] Remove class name repeated in subheadings (#2092)
1 parent a92cdcb commit f0e7cdd

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

source/utilities.tex

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8162,7 +8162,7 @@
81628162
\tcode{A::const_pointer}, \tcode{A::void_pointer}, and \tcode{A::const_void_pointer}
81638163
may be used as \tcode{unique_ptr<T, D>::pointer}. \end{example}
81648164

8165-
\rSec4[unique.ptr.single.ctor]{\tcode{unique_ptr} constructors}
8165+
\rSec4[unique.ptr.single.ctor]{Constructors}
81668166

81678167
\indexlibrary{\idxcode{unique_ptr}!constructor}%
81688168
\begin{itemdecl}
@@ -8364,7 +8364,7 @@
83648364
\tcode{u.get_deleter()}.
83658365
\end{itemdescr}
83668366

8367-
\rSec4[unique.ptr.single.dtor]{\tcode{unique_ptr} destructor}
8367+
\rSec4[unique.ptr.single.dtor]{Destructor}
83688368

83698369
\indexlibrary{\idxcode{unique_ptr}!destructor}%
83708370
\begin{itemdecl}
@@ -8383,7 +8383,7 @@
83838383
Otherwise \tcode{get_deleter()(get())}.
83848384
\end{itemdescr}
83858385

8386-
\rSec4[unique.ptr.single.asgn]{\tcode{unique_ptr} assignment}
8386+
\rSec4[unique.ptr.single.asgn]{Assignment}
83878387

83888388
\indexlibrarymember{operator=}{unique_ptr}%
83898389
\begin{itemdecl}
@@ -8459,7 +8459,7 @@
84598459
\returns \tcode{*this}.
84608460
\end{itemdescr}
84618461

8462-
\rSec4[unique.ptr.single.observers]{\tcode{unique_ptr} observers}
8462+
\rSec4[unique.ptr.single.observers]{Observers}
84638463

84648464
\indexlibrarymember{operator*}{unique_ptr}%
84658465
\begin{itemdecl}
@@ -8524,7 +8524,7 @@
85248524
\returns \tcode{get() != nullptr}.
85258525
\end{itemdescr}
85268526

8527-
\rSec4[unique.ptr.single.modifiers]{\tcode{unique_ptr} modifiers}
8527+
\rSec4[unique.ptr.single.modifiers]{Modifiers}
85288528

85298529
\indexlibrarymember{release}{unique_ptr}%
85308530
\begin{itemdecl}
@@ -8659,7 +8659,7 @@
86598659
\pnum
86608660
The template argument \tcode{T} shall be a complete type.
86618661

8662-
\rSec4[unique.ptr.runtime.ctor]{\tcode{unique_ptr} constructors}
8662+
\rSec4[unique.ptr.runtime.ctor]{Constructors}
86638663

86648664
\indexlibrary{\idxcode{unique_ptr}!constructor}%
86658665
\begin{itemdecl}
@@ -8731,7 +8731,7 @@
87318731
\end{note}
87328732
\end{itemdescr}
87338733

8734-
\rSec4[unique.ptr.runtime.asgn]{\tcode{unique_ptr} assignment}
8734+
\rSec4[unique.ptr.runtime.asgn]{Assignment}
87358735

87368736
\indexlibrarymember{operator=}{unique_ptr}%
87378737
\begin{itemdecl}
@@ -8758,7 +8758,7 @@
87588758
\end{note}
87598759
\end{itemdescr}
87608760

8761-
\rSec4[unique.ptr.runtime.observers]{\tcode{unique_ptr} observers}
8761+
\rSec4[unique.ptr.runtime.observers]{Observers}
87628762

87638763
\indexlibrarymember{operator[]}{unique_ptr}%
87648764
\begin{itemdecl}
@@ -8775,7 +8775,7 @@
87758775
\returns \tcode{get()[i]}.
87768776
\end{itemdescr}
87778777

8778-
\rSec4[unique.ptr.runtime.modifiers]{\tcode{unique_ptr} modifiers}
8778+
\rSec4[unique.ptr.runtime.modifiers]{Modifiers}
87798779

87808780
\indexlibrarymember{reset}{unique_ptr}%
87818781
\begin{itemdecl}
@@ -8807,7 +8807,7 @@
88078807
\end{itemize}
88088808
\end{itemdescr}
88098809

8810-
\rSec3[unique.ptr.create]{\tcode{unique_ptr} creation}
8810+
\rSec3[unique.ptr.create]{Creation}
88118811

88128812
\indexlibrary{\idxcode{make_unique}}%
88138813
\begin{itemdecl}
@@ -8848,7 +8848,7 @@
88488848

88498849
\end{itemdescr}
88508850

8851-
\rSec3[unique.ptr.special]{\tcode{unique_ptr} specialized algorithms}
8851+
\rSec3[unique.ptr.special]{Specialized algorithms}
88528852

88538853
\indexlibrary{\idxcode{swap(unique_ptr\&, unique_ptr\&)}}%
88548854
\begin{itemdecl}
@@ -9042,7 +9042,7 @@
90429042
The second function template returns \tcode{!(nullptr < x)}.
90439043
\end{itemdescr}
90449044

9045-
\rSec3[unique.ptr.io]{\tcode{unique_ptr} I/O}
9045+
\rSec3[unique.ptr.io]{I/O}
90469046

90479047
\indexlibrarymember{operator<<}{unique_ptr}%
90489048
\begin{itemdecl}
@@ -9207,7 +9207,7 @@
92079207
\tcode{Y*} is convertible to \tcode{T*} or
92089208
\tcode{Y} is \tcode{U[N]} and \tcode{T} is \cv{}~\tcode{U[]}.
92099209

9210-
\rSec3[util.smartptr.shared.const]{\tcode{shared_ptr} constructors}
9210+
\rSec3[util.smartptr.shared.const]{Constructors}
92119211

92129212
\pnum
92139213
In the constructor definitions below,
@@ -9416,7 +9416,7 @@
94169416
If an exception is thrown, the constructor has no effect.
94179417
\end{itemdescr}
94189418

9419-
\rSec3[util.smartptr.shared.dest]{\tcode{shared_ptr} destructor}
9419+
\rSec3[util.smartptr.shared.dest]{Destructor}
94209420

94219421
\indexlibrary{\idxcode{shared_ptr}!destructor}%
94229422
\begin{itemdecl}
@@ -9447,7 +9447,7 @@
94479447
\tcode{*this} will report a \tcode{use_count()} that is one less
94489448
than its previous value. \end{note}
94499449

9450-
\rSec3[util.smartptr.shared.assign]{\tcode{shared_ptr} assignment}
9450+
\rSec3[util.smartptr.shared.assign]{Assignment}
94519451

94529452
\indexlibrarymember{operator=}{shared_ptr}%
94539453
\begin{itemdecl}
@@ -9502,7 +9502,7 @@
95029502
\returns \tcode{*this}.
95039503
\end{itemdescr}
95049504

9505-
\rSec3[util.smartptr.shared.mod]{\tcode{shared_ptr} modifiers}
9505+
\rSec3[util.smartptr.shared.mod]{Modifiers}
95069506

95079507
\indexlibrarymember{swap}{shared_ptr}%
95089508
\begin{itemdecl}
@@ -9551,7 +9551,7 @@
95519551
\effects Equivalent to \tcode{shared_ptr(p, d, a).swap(*this)}.
95529552
\end{itemdescr}
95539553

9554-
\rSec3[util.smartptr.shared.obs]{\tcode{shared_ptr} observers}
9554+
\rSec3[util.smartptr.shared.obs]{Observers}
95559555
\indexlibrarymember{get}{shared_ptr}%
95569556
\begin{itemdecl}
95579557
element_type* get() const noexcept;
@@ -9670,7 +9670,7 @@
96709670

96719671
\end{itemdescr}
96729672

9673-
\rSec3[util.smartptr.shared.create]{\tcode{shared_ptr} creation}
9673+
\rSec3[util.smartptr.shared.create]{Creation}
96749674

96759675
\pnum
96769676
The common requirements that apply to
@@ -9943,7 +9943,7 @@
99439943
\end{example}
99449944
\end{itemdescr}
99459945

9946-
\rSec3[util.smartptr.shared.cmp]{\tcode{shared_ptr} comparison}
9946+
\rSec3[util.smartptr.shared.cmp]{Comparison}
99479947

99489948
\indexlibrarymember{operator==}{shared_ptr}%
99499949
\begin{itemdecl}
@@ -10065,7 +10065,7 @@
1006510065
The second function template returns \tcode{!(nullptr < a)}.
1006610066
\end{itemdescr}
1006710067

10068-
\rSec3[util.smartptr.shared.spec]{\tcode{shared_ptr} specialized algorithms}
10068+
\rSec3[util.smartptr.shared.spec]{Specialized algorithms}
1006910069

1007010070
\indexlibrarymember{swap}{shared_ptr}%
1007110071
\begin{itemdecl}
@@ -10077,7 +10077,7 @@
1007710077
\pnum\effects Equivalent to \tcode{a.swap(b)}.
1007810078
\end{itemdescr}
1007910079

10080-
\rSec3[util.smartptr.shared.cast]{\tcode{shared_ptr} casts}
10080+
\rSec3[util.smartptr.shared.cast]{Casts}
1008110081

1008210082
\indexlibrarymember{static_pointer_cast}{shared_ptr}%
1008310083
\begin{itemdecl}
@@ -10202,7 +10202,7 @@
1020210202
\tcode{p} have been destroyed. \end{note}
1020310203
\end{itemdescr}
1020410204

10205-
\rSec3[util.smartptr.shared.io]{\tcode{shared_ptr} I/O}
10205+
\rSec3[util.smartptr.shared.io]{I/O}
1020610206

1020710207
\indexlibrarymember{operator<<}{shared_ptr}%
1020810208
\begin{itemdecl}
@@ -10284,7 +10284,7 @@
1028410284
containers. The template parameter \tcode{T} of \tcode{weak_ptr} may be an
1028510285
incomplete type.
1028610286

10287-
\rSec3[util.smartptr.weak.const]{\tcode{weak_ptr} constructors}
10287+
\rSec3[util.smartptr.weak.const]{Constructors}
1028810288

1028910289
\indexlibrary{\idxcode{weak_ptr}!constructor}%
1029010290
\begin{itemdecl}
@@ -10332,7 +10332,7 @@
1033210332
\tcode{r} shall be empty. \tcode{r.use_count() == 0}.
1033310333
\end{itemdescr}
1033410334

10335-
\rSec3[util.smartptr.weak.dest]{\tcode{weak_ptr} destructor}
10335+
\rSec3[util.smartptr.weak.dest]{Destructor}
1033610336

1033710337
\indexlibrary{\idxcode{weak_ptr}!destructor}%
1033810338
\begin{itemdecl}
@@ -10344,7 +10344,7 @@
1034410344
effect on the object its stored pointer points to.
1034510345
\end{itemdescr}
1034610346

10347-
\rSec3[util.smartptr.weak.assign]{\tcode{weak_ptr} assignment}
10347+
\rSec3[util.smartptr.weak.assign]{Assignment}
1034810348

1034910349
\indexlibrarymember{operator=}{weak_ptr}%
1035010350
\begin{itemdecl}
@@ -10374,7 +10374,7 @@
1037410374
\pnum\returns \tcode{*this}.
1037510375
\end{itemdescr}
1037610376

10377-
\rSec3[util.smartptr.weak.mod]{\tcode{weak_ptr} modifiers}
10377+
\rSec3[util.smartptr.weak.mod]{Modifiers}
1037810378
\indexlibrarymember{swap}{weak_ptr}%
1037910379
\begin{itemdecl}
1038010380
void swap(weak_ptr& r) noexcept;
@@ -10393,7 +10393,7 @@
1039310393
\pnum\effects Equivalent to \tcode{weak_ptr().swap(*this)}.
1039410394
\end{itemdescr}
1039510395

10396-
\rSec3[util.smartptr.weak.obs]{\tcode{weak_ptr} observers}
10396+
\rSec3[util.smartptr.weak.obs]{Observers}
1039710397
\indexlibrarymember{use_count}{weak_ptr}%
1039810398
\begin{itemdecl}
1039910399
long use_count() const noexcept;
@@ -10445,7 +10445,7 @@
1044510445
\end{itemdescr}
1044610446

1044710447

10448-
\rSec3[util.smartptr.weak.spec]{\tcode{weak_ptr} specialized algorithms}
10448+
\rSec3[util.smartptr.weak.spec]{Specialized algorithms}
1044910449

1045010450
\indexlibrarymember{swap}{weak_ptr}%
1045110451
\begin{itemdecl}

0 commit comments

Comments
 (0)