@@ -85,7 +85,7 @@ int foo(S s)
8585}
8686---
8787
88- $(H3 Postincrement $(I e)$(D ++) and Postdecrement $(I e)$(D --) Operators)
88+ $(H3 $(LNAME2 postincrement_postdecrement_operators, Postincrement $(I e)$(D ++) and Postdecrement $(I e)$(D --) Operators) )
8989
9090 $(P These are not directly overloadable, but instead are rewritten
9191 in terms of the ++$(I e) and --$(I e) prefix operators:
@@ -101,7 +101,7 @@ $(H3 Postincrement $(I e)$(D ++) and Postdecrement $(I e)$(D --) Operators)
101101 $(ARGS $(D $(LPAREN)auto t =) $(I e)$(D , ++)$(I e)$(D , t$(RPAREN))))
102102 )
103103
104- $(H3 Overloading Index Unary Operators)
104+ $(H3 $(LNAME2 index_unary_operators, Overloading Index Unary Operators) )
105105
106106 $(TABLE2 Overloadable Index Unary Operators,
107107 $(THEAD $(I op), $(I rewrite))
@@ -130,7 +130,7 @@ $(H3 Overloading Index Unary Operators)
130130 )
131131 )
132132
133- $(H3 Overloading Slice Unary Operators)
133+ $(H3 $(LNAME2 slice_unary_operators, Overloading Slice Unary Operators) )
134134
135135 $(TABLE2 Overloadable Slice Unary Operators,
136136 $(THEAD $(I op), $(I rewrite))
@@ -202,7 +202,7 @@ $(H3 Overloading Slice Unary Operators)
202202
203203$(H2 $(LEGACY_LNAME2 Cast, cast, Cast Operator Overloading))
204204
205- $(P To define how one type can be cast to another, define the
205+ $(P To define how one type can be cast to another, define the
206206 `opCast` template method, which is used as follows:)
207207 $(TABLE2 Cast Operators,
208208 $(THEAD $(I op), $(I rewrite))
@@ -216,7 +216,7 @@ $(H2 $(LEGACY_LNAME2 Cast, cast, Cast Operator Overloading))
216216 expression, except in the case of boolean operations (see next
217217 section))
218218
219- $(H3 Boolean Operations)
219+ $(H3 $(LNAME2 boolean_operators, Boolean Operations) )
220220
221221 $(P Notably absent from the list of overloaded unary operators is the !
222222 logical negation operator. More obscurely absent is a unary operator
@@ -571,7 +571,7 @@ $(H2 $(LEGACY_LNAME2 Assignment, assignment, Assignment Operator Overloading))
571571 c = 1; // Rewritten to c.opAssign(1);
572572 ---
573573
574- $(H3 Index Assignment Operator Overloading)
574+ $(H3 $(LNAME2 index_assignment_operator, Index Assignment Operator Overloading) )
575575
576576 $(P If the left hand side of an assignment is an index operation
577577 on a struct or class instance,
@@ -593,7 +593,7 @@ void test()
593593}
594594-------
595595
596- $(H3 Slice Assignment Operator Overloading)
596+ $(H3 $(LNAME2 slice_assignment_operator, Slice Assignment Operator Overloading) )
597597
598598 $(P If the left hand side of an assignment is a slice operation on a
599599 struct or class instance, it can be overloaded by implementing an $(D
@@ -653,7 +653,7 @@ a $(METACODE op)= b
653653a.opOpAssign!($(DOUBLEQUOTE $(METACODE op)))(b)
654654---
655655
656- $(H3 Index Op Assignment Operator Overloading)
656+ $(H3 $(LNAME2 index_op_assignment, Index Op Assignment Operator Overloading) )
657657
658658 $(P If the left hand side of an $(I op)= is an index expression on
659659 a struct or class instance and $(D opIndexOpAssign) is a member:)
@@ -668,7 +668,7 @@ a[$(METACODE $(ARGUMENTS))] $(METACODE op)= c
668668a.opIndexOpAssign!($(DOUBLEQUOTE $(METACODE op)))(c, $(METACODE $(ARGUMENTS)))
669669---
670670
671- $(H3 Slice Op Assignment Operator Overloading)
671+ $(H3 $(LNAME2 slice_op_assignment, Slice Op Assignment Operator Overloading) )
672672
673673 $(P If the left hand side of an $(I op)= is a slice expression on
674674 a struct or class instance and $(D opIndexOpAssign) is a member:)
0 commit comments