Skip to content

Commit 8f75bd9

Browse files
authored
[spec/operatoroverloading] Remove manual TOC (#3653)
The manual heading links are missing some subheadings, and the automatic one is present anyway.
1 parent 9a31fe2 commit 8f75bd9

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

spec/operatoroverloading.dd

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,6 @@ $(HEADERNAV_TOC)
99
members. No additional syntax is used.
1010
)
1111

12-
$(UL
13-
$(LI $(RELATIVE_LINK2 unary, Unary Operator Overloading))
14-
$(LI $(RELATIVE_LINK2 cast, Cast Operator Overloading))
15-
$(LI $(RELATIVE_LINK2 binary, Binary Operator Overloading))
16-
$(LI $(RELATIVE_LINK2 eqcmp, Overloading the Comparison Operators)
17-
$(UL
18-
$(LI $(RELATIVE_LINK2 equals, Overloading $(D ==) and $(D !=)))
19-
$(LI $(RELATIVE_LINK2 compare, Overloading $(D <), $(D <=),
20-
$(D >), and $(D >=)))
21-
)
22-
)
23-
$(LI $(RELATIVE_LINK2 function-call, Function Call Operator Overloading))
24-
$(LI $(RELATIVE_LINK2 assignment, Assignment Operator Overloading))
25-
$(LI $(RELATIVE_LINK2 op-assign, Op Assignment Operator Overloading))
26-
$(LI $(RELATIVE_LINK2 array-ops, Array Indexing and Slicing Operators Overloading)
27-
$(UL
28-
$(LI $(RELATIVE_LINK2 array, Index Operator Overloading))
29-
$(LI $(RELATIVE_LINK2 slice, Slice Operator Overloading))
30-
$(LI $(RELATIVE_LINK2 dollar, Dollar Operator Overloading))
31-
)
32-
)
33-
$(LI $(RELATIVE_LINK2 dispatch, Forwarding))
34-
$(LI $(RELATIVE_LINK2 old-style, D1 style operator overloading))
35-
)
36-
3712
$(H2 $(LEGACY_LNAME2 Unary, unary, Unary Operator Overloading))
3813

3914
$(TABLE2 Overloadable Unary Operators,
@@ -568,7 +543,7 @@ $(BEST_PRACTICE Using `(i > s.i) - (i < s.i)` instead of `i - s.i` to
568543
compare integers avoids overflow.)
569544

570545

571-
$(H2 $(LEGACY_LNAME2 FunctionCall, function-call, Function Call Operator Overloading $(D f())))
546+
$(H2 $(LEGACY_LNAME2 FunctionCall, function-call, Function Call Operator Overloading))
572547

573548
$(P The function call operator, $(D ()), can be overloaded by
574549
declaring a function named $(CODE opCall):

0 commit comments

Comments
 (0)