xfree

Deallocates a class allocated with xalloc and calls its custom destructor (__xdtor pure, nothrow and @nogc method).

  1. void xfree(void* ptr)
  2. void xfree(T[] array)
  3. void xfree(T obj)
    pure nothrow @system @nogc
    void
    xfree
    (
    T
    )
    (
    T obj
    )
    if (
    is(T == class)
    )

Meta