The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
SList.moveFront
containers
slist
SList
Removes the first item in the list.
Complexity: O(1)
struct
SList
(T, Allocator = Mallocator, bool supportGC = shouldAddGCRange!T)
T
moveFront
(
)
Return Value
Type:
T
the first item in the list.
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)
Removes the first item in the list.
Complexity: O(1)