Function umpire::pointer_overlaps¶
Defined in File Umpire.cpp
Function Documentation¶
-
bool
umpire
::
pointer_overlaps
(void *left, void *right)¶ Check whether the right allocation overlaps the left.
right will overlap left if the right is greater than left, but less than left+size, and right+size is strictly greater than left+size.
- Parameters
left
: Pointer to left allocationright
: Poniter to right allocation