phobos ~master (2024-10-03T07:50:27Z)
Dub
Repo
DList.clear
std
container
dlist
DList
Removes all contents from the
DList
.
Postcondition:
empty
Complexity:
O
(1)
struct
DList
(T)
void
clear
(
)
Meta
Source
See Implementation
std
container
dlist
DList
aliases
insert
stableInsert
stableInsertAfter
stableInsertBack
stableInsertBefore
stableInsertFront
stableLinearRemove
stableRemove
stableRemoveAny
stableRemoveBack
stableRemoveFront
constructors
this
functions
clear
empty
insertAfter
insertBack
insertBefore
insertFront
linearRemove
linearRemoveElement
opBinary
opBinaryRight
opEquals
opOpAssign
opSlice
popFirstOf
popLastOf
remove
removeAny
removeBack
removeFront
properties
back
dup
front
structs
Range
Removes all contents from the DList.
Postcondition: empty
Complexity: O(1)