The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
SList.length
containers
slist
SList
Complexity: O(1)
struct
SList
(T, Allocator = Mallocator, bool supportGC = shouldAddGCRange!T)
inout pure nothrow @
property
@
safe
@
nogc
size_t
length
(
)
Return Value
Type:
size_t
the number of items 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)
Complexity: O(1)