Queue.push

Pushes an uninitialized item to the queue.

For items that are faster to initialize in place than to copy, this form will be faster.

  1. void push(Type item)
  2. Type* push()
    struct Queue(Type, ushort MaxSize)
    nothrow @safe @nogc
    Type*
    push
    ()

Return Value

Type: Type*

A pointer to the newly created item, so it can be filled with values.

Meta