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)
  2. void destroyUnset(T value)
    deprecated
    void
    destroyUnset
    (
    T
    )
    (
    ref T value
    )
    if (
    !__traits(compiles, destroy!false(value)) &&
    !__traits(compiles, destroy(value))
    )

Meta