nogc_trydelete

Attempts to finalize the objects referenced by objects by calling the destructors of its members (if any).

Notes: If doFree is true, memory associated with each object will additionally be freed after finalizers have run; otherwise the object is reset to its original state.

  1. bool nogc_trydelete(T obj_)
  2. bool nogc_trydelete(NuHeap heap, T obj_)
  3. bool nogc_trydelete(T[] objects)
    @nogc @trusted
    bool
    nogc_trydelete
    (
    T
    bool doFree = true
    )
    ()

Parameters

objects T[]

The objects to try to delete.

Return Value

Type: bool

Whether the operation succeeded.

Meta