LWDR.free

Finalise (if possible) and deallocate struct pointed to by ptr.

  1. void free(T obj)
  2. void free(TArr arr)
  3. void free(TPtr ptr)
  4. void free(TPtr ptr)
    class LWDR
    static nothrow @trusted
    void
    free
    (
    TPtr : T*
    T
    )
    (
    ref TPtr ptr
    )
    if (
    is(T == struct)
    )

Meta