Mimallocator.owns

Checks if the memory has been allocated by this allocator.

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

Parameters

b 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