@@ -81,11 +81,23 @@ enum SliceKind
8181 contiguous,
8282}
8383
84- // / Alias for $(LREF .SliceKind.universal).
84+ /+ +
85+ Alias for $(LREF .SliceKind.universal).
86+
87+ See_also:
88+ Internal Binary Representation section in $(LREF Slice).
8589alias Universal = SliceKind.universal;
86- // / Alias for $(LREF .SliceKind.canonical).
90+ /+ +
91+ Alias for $(LREF .SliceKind.canonical).
92+
93+ See_also:
94+ Internal Binary Representation section in $(LREF Slice).
8795alias Canonical = SliceKind.canonical;
88- // / Alias for $(LREF .SliceKind.contiguous).
96+ /+ +
97+ Alias for $(LREF .SliceKind.contiguous).
98+
99+ See_also:
100+ Internal Binary Representation section in $(LREF Slice).
89101alias Contiguous = SliceKind.contiguous;
90102
91103/// Extracts $(LREF SliceKind).
@@ -386,7 +398,7 @@ In the following table you will find the definitions you might come across
386398in comments on operator overloading.
387399
388400$(BOOKTABLE
389- $(TR $(TH Definition ) $(TH Examples at `N == 3`))
401+ $(TR $(TH Operator Overloading ) $(TH Examples at `N == 3`))
390402$(TR $(TD An $(B interval) is a part of a sequence of type `i .. j`.)
391403 $(STD `2..$-3`, `0..4`))
392404$(TR $(TD An $(B index) is a part of a sequence of type `i`.)
@@ -407,13 +419,16 @@ $(TR $(TD An $(B indexed slice) is syntax sugar for $(SUBREF topology, indexed)
407419
408420$(H3 Internal Binary Representation)
409421
410- Multidimensional Slice is a structure that consists of lengths, strides, and a pointer.
411- For ranges, a shell is used instead of a pointer.
412- This shell contains a shift of the current initial element of a multidimensional slice
413- and the range itself. With the exception of overloaded operators, no functions in this
414- package change or copy data. The operations are only carried out on lengths, strides,
422+ Multidimensional Slice is a structure that consists of lengths, strides, and a iterator (pointer).
423+
424+ $(SUBREF topology, FieldIterator) shell is used to wrap fields and random access ranges.
425+ FieldIterator contains a shift of the current initial element of a multidimensional slice
426+ and the field itself.
427+
428+ With the exception of $(MREF mir,ndslice,allocation) module, no functions in this
429+ package move or copy data. The operations are only carried out on lengths, strides,
415430and pointers. If a slice is defined over a range, only the shift of the initial element
416- changes instead of the pointer .
431+ changes instead of the range .
417432
418433$(H4 Internal Representation for Universal Slices)
419434
@@ -432,7 +447,7 @@ Slice!(Universal, [N], Iterator)
432447 Iterator _iterator
433448-------
434449
435- Example:
450+ $(H5 Example)
436451
437452Definitions
438453
0 commit comments