dispose

Destroy and deallocate a given object/array.

  1. void dispose(Allocator alloc, T* p)
    void
    dispose
    (
    Allocator
    T
    )
    (
    ref Allocator alloc
    ,
    T* p
    )
    if (
    isAllocator!Allocator
    )
  2. void dispose(Allocator alloc, T[] array)