The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
SList.linearRemove
std
container
slist
SList
Removes a range from the list in linear time.
Range
linearRemove
(Range r)
struct
SList
(T)
Range
linearRemove
(
Range
r
)
if
(
!
is
(
T
== shared)
)
Range
linearRemove
(Take!Range r)
Return Value
Type:
Range
An empty range.
Complexity:
O
(n)
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
Removes a range from the list in linear time.