Mimallocator.owns

Checks if the memory has been allocated by this allocator.

struct Mimallocator
@trusted @nogc pure nothrow
Ternary
owns
shared
(
const void[] b
)

Parameters

b
Type: void[]

The array to be verified.

Return Value

Type: Ternary

Ternary.yes if the memory has been allocated by this allocator or Ternary.no if the memory is managed to other allocators.

Meta