Region.owns

Queries whether b has been allocated with this region.

struct Region(ParentAllocator = NullAllocator, uint minAlign = platformAlignment, Flag!"growDownwards" growDownwards = No.growDownwards)
const
Ternary
owns
(
void[] b
)

Parameters

b void[]

Arbitrary block of memory (null is allowed; owns(null) returns false).

Return Value

Type: Ternary

true if b has been allocated with this region, false otherwise.

Meta