Return whether a pointer points inside this arena. This returns base <= ptr < (base+size) so only use it for (inclusive) chunk starting addresses.
Synopsis
Declared in <support/lockedpool.h>
bool
addressInArena(void* ptr) const;
Return Value
True when the pointer lies within this arena.
Parameters
Name |
Description |
ptr |
Pointer to test against the arena's bounds. |
Created with MrDocs