dyaml-yamlserialized ~master (2016-12-10T19:24:08Z)
Home
Dub
Repo
Queue.peek
dyaml
queue
Queue
Return the next element in the queue.
struct
Queue
(T)
ref
inout
(
T
)
peek
@
safe
pure nothrow inout @
nogc
(
)
in { assert (!empty, "Trying to peek at an element in an empty queue"); }
if
(
!
hasMember
!(
T
, "__dtor")
)
Meta
Source
See Implementation
dyaml
queue
Queue
destructors
~this
functions
empty
insert
iterationOver
length
next
peek
pop
push
startIteration
Return the next element in the queue.