458458 in the $(PS0).
459459)
460460
461- $(H4 Foreach over Arrays)
461+ $(H4 $(LNAME2 foreach_over_arrays, Foreach over Arrays) )
462462
463463$(P
464464 If the aggregate is a static or dynamic array, there
@@ -505,7 +505,7 @@ foreach (auto n; arr) // error, auto is redundant
505505 writeln(n);
506506--------------
507507
508- $(H4 Foreach over Arrays of Characters)
508+ $(H4 $(LNAME2 foreach_over_arrays_of_characters, Foreach over Arrays of Characters) )
509509
510510 $(P If the aggregate expression is a static or dynamic array of
511511 $(D char)s, $(D wchar)s, or $(D dchar)s, then the $(I Type) of
@@ -560,7 +560,7 @@ $(CONSOLE
560560'y'
561561)
562562
563- $(H4 Foreach over Associative Arrays)
563+ $(H4 $(LNAME2 foreach_over_associative_arrays, Foreach over Associative Arrays) )
564564
565565 $(P If the aggregate expression is an associative array, there
566566 can be one or two variables declared. If one, then the variable
@@ -586,7 +586,7 @@ foreach (string s, double d; a)
586586}
587587--------------
588588
589- $(H4 Foreach over Structs and Classes with opApply)
589+ $(H4 $(LNAME2 foreach_over_struct_and_classes, Foreach over Structs and Classes with opApply) )
590590
591591 $(P If the aggregate expression is a struct or class object,
592592 the $(D foreach) is defined by the
@@ -703,8 +703,8 @@ $(CONSOLE
703703 --------------
704704
705705 $(P It is important to make sure that, if $(D opApply) catches any exceptions, that those
706- exceptions did not originate from the delegate passed to $(I opApply). The user would expect
707- exceptions thrown from a `foreach` body to both terminate the loop, and propagate outside
706+ exceptions did not originate from the delegate passed to $(I opApply). The user would expect
707+ exceptions thrown from a `foreach` body to both terminate the loop, and propagate outside
708708 the `foreach` body.
709709 )
710710
@@ -777,7 +777,7 @@ $(H4 $(LEGACY_LNAME2 foreach_with_ranges, foreach-with-ranges, Foreach over Stru
777777 }
778778 ---
779779
780- $(H4 Foreach over Delegates)
780+ $(H4 $(LNAME2 foreach_over_delegates, Foreach over Delegates) )
781781
782782 $(P If $(I ForeachAggregate) is a delegate, the type signature of
783783 the delegate is of the same as for $(D opApply). This enables
@@ -820,7 +820,7 @@ void main()
820820 that is confusing to read. Therefore, using $(D foreach_reverse) with a
821821 delegate is now deprecated, and will be rejected in the future.)
822822
823- $(H4 Foreach over Tuples)
823+ $(H4 $(LNAME2 foreach_over_tuples, Foreach over Tuples) )
824824
825825$(P
826826 If the aggregate expression is a tuple, there
866866double
867867)
868868
869- $(H4 Foreach Ref Parameters)
869+ $(H4 $(LNAME2 foreach_ref_parameters, Foreach Ref Parameters) )
870870
871871 $(P $(D ref) can be used to update the original elements:
872872 )
@@ -900,7 +900,7 @@ $(CONSOLE
900900 the type of the $(I ForeachAggregate).
901901 )
902902
903- $(H4 Foreach Restrictions)
903+ $(H4 $(LNAME2 foreach_restrictions, Foreach Restrictions) )
904904
905905 $(P The aggregate itself must not be resized, reallocated, free'd,
906906 reassigned or destructed
@@ -975,7 +975,7 @@ foo0123456789
975975)
976976
977977
978- $(H4 Break and Continue out of Foreach)
978+ $(H4 $(LNAME2 break_and_continue_out_of_foreach, Break and Continue out of Foreach) )
979979
980980
981981 $(P A $(GLINK BreakStatement) in the body of the foreach will exit the
@@ -1699,7 +1699,7 @@ $(CONSOLE
16991699 may not exit with a throw, goto, break, continue, or
17001700 return; nor may it be entered with a goto.
17011701
1702- $(H4 Catching C++ Class Objects)
1702+ $(H4 $(LNAME2 catching_cpp_class_objects, Catching C++ Class Objects) )
17031703
17041704 $(P
17051705 On many platforms, catching C++ class objects is supported.
0 commit comments