Queue.peek

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, "__xdtor")
)

Return Value

Type: inout(T)

The next element in the queue.

Meta