TypeInfo.initializer

Return default initializer. If the type should be initialized to all zeros, an array with a null ptr and a length equal to the type size will be returned. For static arrays, this returns the default initializer for a single element of the array, use tsize to get the correct size.

  1. const(void)[] initializer()
    class TypeInfo
    version(LDC)
    nothrow pure const @trusted @nogc
    const(void)[]
    initializer
    ()
  2. const(void)[] initializer()

Meta