SharedAlignedBlockList.owns

Returns Ternary.yes if the buffer belongs to the parent allocator and Ternary.no otherwise.

struct SharedAlignedBlockList(Allocator, ParentAllocator, ulong theAlignment = (1 << 21))
version(StdDdoc)
static if(hasMember!(ParentAllocator, "owns"))
Ternary
owns
(
void[] b
)

Parameters

b void[]

buffer tested if owned by this allocator

Return Value

Type: Ternary

Ternary.yes if owned by this allocator and Ternary.no otherwise

Meta