nogc_initialize

Initializes the object at element, filling it out with its default state.

  1. T nogc_initialize(void[] dst)
  2. T nogc_initialize(T element)
    @nogc ref @trusted
    T
    nogc_initialize
    (
    T
    )
    (
    ref T element
    )
  3. T[] nogc_initialize(T[] elements)

Parameters

element T

A reference to the allocated memory to initialize.

Return Value

Type: T

A reference to the initialized element.

Meta