ddash ~master (2018-09-27T21:25:54Z)
Dub
Repo
reverse
ddash
algorithm
reverse
Reverses elements in a range
void
reverse
(
Range
)
(
ref
Range
range
)
if
(
from
!"std.range".
isBidirectionalRange
!
Range
&&
!
from
!"std.range".
isRandomAccessRange
!
Range
&&
from
!"std.range".
hasSwappableElements
!
Range
||
(
from
!"std.range".
isRandomAccessRange
!
Range
&&
from
!"std.range".
hasLength
!
Range
)
)
Parameters
range
Type:
Range
the range to reverse
Meta
Source
See Implementation
Since
0.0.1
ddash
algorithm
reverse
modules
compact
concat
difference
equal
fill
flatmap
flatten
frompairs
index
intersection
pull
remove
reverse
sort
stringify
zip
Reverses elements in a range