The OpenD Programming Language

dispose

Disposes a CartesianPower object. It destroys and then deallocates the CartesianPower object pointed to by a pointer. It is assumed the respective entities had been allocated with the same allocator.

  1. void dispose(Allocator alloc, Permutations!T perm)
  2. void dispose(Allocator alloc, CartesianPower!T cartesianPower)
    void
    dispose
    (
    T = uint
    Allocator
    )
    (
    auto ref Allocator alloc
    ,)
  3. void dispose(Allocator alloc, Combinations!T perm)
  4. void dispose(Allocator alloc, CombinationsRepeat!T perm)

Parameters

alloc Allocator

Custom allocator

cartesianPower CartesianPower!T

CartesianPower object

See Also

Meta