destroyUnset

Calls destro!false on the value or just destroy if not supported. Makes the value undefined/unset after calling so it shouldn't be used anymore.

  1. void destroyUnset(T value)
    void
    destroyUnset
    (
    T
    )
    (
    ref T value
    )
    if (
    __traits(compiles, destroy!false(value)) ||
    __traits(compiles, destroy(value))
    )
  2. void destroyUnset(T value)

Meta