Region.owns

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

Queries whether b has been allocated with this region.

Parameters

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

Returns

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