Queue.peek

Get reference to item at head of the queue.

If Type is not copyable, the only way to remove an element from the queue is to look at it using peek, followed by removeHead

struct Queue(Type, ushort MaxSize)
ref const nothrow @safe @nogc
const(Type)
peek
()

Meta