phobos ~master (2024-10-03T07:50:27Z)
Dub
Repo
SList.reverse
std
container
slist
SList
Reverses SList in-place. Performs no memory allocation.
Complexity:
O
(n)
struct
SList
(T)
void
reverse
(
)
if
(
!
is
(
T
== shared)
)
Meta
Source
See Implementation
std
container
slist
SList
aliases
insert
stableInsert
stableInsertAfter
stableInsertFront
stableLinearRemove
stableRemoveAny
stableRemoveFront
constructors
this
functions
clear
insertAfter
insertFront
linearRemove
linearRemoveElement
opBinary
opBinaryRight
opEquals
opSlice
removeAny
removeFront
reverse
properties
dup
empty
front
structs
Range
Reverses SList in-place. Performs no memory allocation.
Complexity: O(n)