The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
SList.insert
containers
slist
SList
Inserts an item at the front of the list.
Complexity: O(1)
import containers.slist;
struct
SList
(T, Allocator = Mallocator, bool supportGC = shouldAddGCRange!T)
alias
insert
=
insertFront
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)