mirror of
https://github.com/dlang/phobos.git
synced 2025-05-05 09:30:49 +03:00
Improved docs for std.range.radial
This commit is contained in:
parent
137a5cf381
commit
9b5690447a
1 changed files with 7 additions and 0 deletions
|
@ -1715,6 +1715,13 @@ range. Iteration spans the entire range.
|
||||||
|
|
||||||
When `startingIndex` is 0 the range will be fully iterated in order
|
When `startingIndex` is 0 the range will be fully iterated in order
|
||||||
and in reverse order when `r.length` is given.
|
and in reverse order when `r.length` is given.
|
||||||
|
|
||||||
|
Params:
|
||||||
|
r = a random access range with length and slicing
|
||||||
|
startingIndex = the index to begin iteration from
|
||||||
|
|
||||||
|
Returns:
|
||||||
|
A forward range with length
|
||||||
*/
|
*/
|
||||||
auto radial(Range, I)(Range r, I startingIndex)
|
auto radial(Range, I)(Range r, I startingIndex)
|
||||||
if (isRandomAccessRange!(Unqual!Range) && hasLength!(Unqual!Range) && isIntegral!I)
|
if (isRandomAccessRange!(Unqual!Range) && hasLength!(Unqual!Range) && isIntegral!I)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue