The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
SList.insertFront
containers
slist
SList
Inserts an item at the front of the list.
Complexity: O(1)
struct
SList
(T, Allocator = Mallocator, bool supportGC = shouldAddGCRange!T)
@
trusted
void
insertFront
(
T
t
)
Meta
Source
See Implementation
containers
slist
SList
aliases
insert
insertAnywhere
put
constructors
this
functions
back
clear
empty
front
insertFront
length
moveFront
opOpAssign
opSlice
popFront
remove
postblits
this(this)
Inserts an item at the front of the list.
Complexity: O(1)