Region.owns

Queries whether b has been allocated with this region.

struct Region(ParentAllocator = NullAllocator, uint minAlign = platformAlignment, Flag!"growDownwards" growDownwards = No.growDownwards)
const pure nothrow @trusted @nogc
Ternary
owns
(
const 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