dispose

Destroys and then deallocates (using alloc) the object pointed to by a pointer, the class object referred to by a class or interface reference, or an entire array. It is assumed the respective entities had been allocated with the same allocator.

  1. void dispose(auto ref A alloc, auto ref T* p)
  2. void dispose(auto ref A alloc, auto ref T p)
  3. void dispose(auto ref A alloc, auto ref T[] array)
    void
    dispose
    (
    A
    T
    )
    (
    auto ref A alloc
    ,
    auto ref T[] array
    )

Meta