|
485 | 485 | If there are
|
486 | 486 | two variables declared, the first is said to be the $(I index)
|
487 | 487 | and the second is said to be the $(I value). The $(I index)
|
488 |
| - must be of $(D int), $(D uint) or $(D size_t) type, |
489 |
| - it cannot be $(I ref), |
| 488 | + must be of `int`, `uint`, `long` or `ulong` type, |
| 489 | + it cannot be `ref`, |
490 | 490 | and it is set to be the index of the array element.
|
491 | 491 | )
|
492 | 492 | --------------
|
@@ -585,7 +585,7 @@ $(H3 $(LNAME2 foreach_over_associative_arrays, Foreach over Associative Arrays))
|
585 | 585 | two variables declared, the first is said to be the $(I index)
|
586 | 586 | and the second is said to be the $(I value). The $(I index)
|
587 | 587 | must be of the same type as the indexing type of the associative
|
588 |
| - array. It cannot be $(I ref), |
| 588 | + array. It cannot be `ref`, |
589 | 589 | and it is set to be the index of the array element.
|
590 | 590 | The order in which the elements of the array are iterated over is unspecified
|
591 | 591 | for $(D foreach). $(D foreach_reverse) for associative arrays
|
|
855 | 855 | If there are
|
856 | 856 | two symbols declared, the first is the $(I index variable)
|
857 | 857 | and the second is the $(I element alias). The index
|
858 |
| - must be of $(D int) or $(D uint) type, it cannot be `ref`, |
| 858 | + must be of `int`, `uint`, `long` or `ulong` type, |
| 859 | + it cannot be `ref`, |
859 | 860 | and it is set to the index of each sequence element.
|
860 | 861 | )
|
861 | 862 | $(P Example:)
|
|
0 commit comments