Skip to content

Commit 3484797

Browse files
committed
[index] Fix various minor indexing problems and in so doing fix all remaining makeindex warnings.
1 parent 580118f commit 3484797

File tree

5 files changed

+19
-25
lines changed

5 files changed

+19
-25
lines changed

source/conversions.tex

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

195195
\pnum
196196
\indextext{conversion!array-to-pointer}%
197-
\indextext{decay|see{conversion, array to pointer}}%
198-
\indextext{decay|see{conversion, function to pointer}}%
197+
\indextext{decay!array|see{conversion, array to pointer}}%
198+
\indextext{decay!function|see{conversion, function to pointer}}%
199199
An lvalue or rvalue of type ``array of \tcode{N} \tcode{T}'' or ``array
200200
of unknown bound of \tcode{T}'' can be converted to a prvalue of type
201201
``pointer to \tcode{T}''.

source/expressions.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4166,8 +4166,8 @@
41664166
\pnum
41674167
\indextext{expression!left-shift-operator}%
41684168
\indextext{expression!right-shift-operator}%
4169-
\indextext{shift operator|see{operator, left shift}}%
4170-
\indextext{shift operator|see{operator, right shift}}%
4169+
\indextext{shift operator!left|see{operator, left shift}}%
4170+
\indextext{shift operator!right|see{operator, right shift}}%
41714171
\indextext{right shift operator|see{operator, right shift}}%
41724172
\indextext{left shift operator|see{operator, left shift}}%
41734173
The shift operators \tcode{<<} and \tcode{>>} group left-to-right.

source/preprocessor.tex

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -668,8 +668,7 @@
668668
\end{ncsimplebnf}
669669

670670
defines an
671-
\indextext{macro!object-like}%
672-
\defn{object-like macro} that
671+
\defnx{object-like macro}{macro!object-like} that
673672
causes each subsequent instance of the macro name\footnote{Since, by macro-replacement time,
674673
all character literals and string literals are preprocessing tokens,
675674
not sequences possibly containing identifier-like subsequences
@@ -690,8 +689,7 @@
690689
\terminal{\# define} identifier lparen \terminal{...} \terminal{)} replacement-list new-line\br
691690
\terminal{\# define} identifier lparen identifier-list \terminal{, ...} \terminal{)} replacement-list new-line
692691
\end{ncsimplebnf}
693-
\indextext{macro!function-like}%
694-
defines a \defn{function-like macro}
692+
defines a \defnx{function-like macro}{macro!function-like}
695693
with parameters, whose use is
696694
similar syntactically to a function call.
697695
The parameters

source/special.tex

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@
33

44
\gramSec[gram.special]{Special member functions}
55

6-
\indextext{special member function|see{constructor}}%
7-
\indextext{special member function|see{destructor}}%
8-
\indextext{special member function|see{inline function}}%
9-
\indextext{special member function|see{user-defined conversion}}%
10-
\indextext{special member function|see{virtual function}}%
116
\indextext{\idxcode{X(X\&)}|see{constructor, copy}}%
127
\indextext{~@\tcode{\tilde}|see{destructor}}%
138
\indextext{assignment!copy|see{assignment operator, copy}}%
@@ -73,7 +68,8 @@
7368
classes are called its \term{potentially constructed subobjects}.
7469

7570
\rSec1[class.ctor]{Constructors}%
76-
\indextext{constructor}
71+
\indextext{constructor}%
72+
\indextext{special member function|see{constructor}}%
7773

7874
\pnum
7975
Constructors do not have names.
@@ -937,7 +933,8 @@
937933
\end{example}
938934

939935
\rSec1[class.dtor]{Destructors}%
940-
\indextext{destructor}
936+
\indextext{destructor}%
937+
\indextext{special member function|see{destructor}}%
941938

942939
\pnum
943940
In a declaration of a destructor, the \grammarterm{declarator} is a
@@ -2398,12 +2395,6 @@
23982395
\indextext{construction|)}%
23992396

24002397
\rSec1[class.copy]{Copying and moving class objects}%
2401-
\indextext{copy!class object|see{constructor, copy}}%
2402-
\indextext{copy!class object|see{assignment, copy}}%
2403-
\indextext{move!class object|see{constructor, move}}%
2404-
\indextext{move!class object|see{assignment, move}}%
2405-
\indextext{operator!copy assignment|see{assignment, copy}}%
2406-
\indextext{operator!move assignment|see{assignment, move}}
24072398

24082399
\pnum
24092400
A class object can be copied or moved in two ways:
@@ -2432,6 +2423,8 @@
24322423
\pnum
24332424
\indextext{constructor!copy|(}%
24342425
\indextext{constructor!move|(}%
2426+
\indextext{copy!class object|see{constructor, copy}}%
2427+
\indextext{move!class object|see{constructor, move}}%
24352428
A non-template constructor for class
24362429
\tcode{X}
24372430
is
@@ -2751,6 +2744,11 @@
27512744
\pnum
27522745
\indextext{assignment operator!copy|(}%
27532746
\indextext{assignment operator!move|(}%
2747+
\indextext{special member function|see{assignment operator}}%
2748+
\indextext{copy!class object|see{assignment operator, copy}}%
2749+
\indextext{move!class object|see{assignment operator, move}}%
2750+
\indextext{operator!copy assignment|see{assignment operator, copy}}%
2751+
\indextext{operator!move assignment|see{assignment operator, move}}
27542752
A user-declared \term{copy} assignment operator \tcode{X::operator=} is a
27552753
non-static non-template member function of class \tcode{X} with exactly one
27562754
parameter of type \tcode{X}, \tcode{X\&}, \tcode{const} \tcode{X\&},
@@ -3108,9 +3106,7 @@
31083106
is not executed, there is still one object destroyed for each one constructed.}
31093107
This elision of copy/move operations, called
31103108
\indexdefn{copy elision|see{constructor, copy, elision}}%
3111-
\indexdefn{copy elision|see{constructor, move, elision}}%
31123109
\indexdefn{elision!copy|see{constructor, copy, elision}}%
3113-
\indexdefn{elision!copy|see{constructor, move, elision}}%
31143110
\indexdefn{constructor!copy!elision}\indexdefn{constructor!move!elision}\term{copy elision},
31153111
is permitted in the
31163112
following circumstances (which may be combined to

source/templates.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2681,7 +2681,7 @@
26812681
// was not in scope at the first declaration of \tcode{h()}
26822682
\end{codeblock}
26832683
\end{example}
2684-
\indextext{equivalent!functionally|see{expression, functionally equivalent}}%
2684+
\indextext{equivalent!functionally!expression|see{expression, functionally equivalent}}%
26852685
\indextext{functionally equivalent!expression|see{expression, functionally equivalent}}%
26862686
Two expressions involving template parameters that are not equivalent are
26872687
\defnx{functionally equivalent}{expression!functionally equivalent}
@@ -2697,7 +2697,7 @@
26972697
lists that are equivalent using the rules described above to compare
26982698
expressions involving
26992699
template parameters.
2700-
\indextext{equivalent!functionally|see{template, function, functionally equivalent}}%
2700+
\indextext{equivalent!functionally!function template|see{template, function, functionally equivalent}}%
27012701
\indextext{functionally equivalent!function template|see{template, function, functionally equivalent}}%
27022702
Two function templates are
27032703
\defnx{functionally equivalent}{template!function!functionally equivalent}

0 commit comments

Comments
 (0)