cachetools v0.1.1 (2019-01-11T13:20:18Z)
Dub
Repo
DList.move_to_tail
cachetools
containers
lists
DList
move node to tail
struct
DList
(T, Allocator = Mallocator, bool GCRangesAllowed = true)
void
move_to_tail
@
safe
@
nogc
(
Node
!
T
*
n
)
in { assert (_length > 0); assert (_head !is null && _tail !is null); }
out { assert (_tail == n && n.next is null); }
Meta
Source
See Implementation
cachetools
containers
lists
DList
aliases
insertBack
insertFront
functions
clear
head
insert_first
insert_last
length
move_to_head
move_to_tail
popBack
popFront
range
remove
tail
structs
Node
move node to tail