Subtracts the 2nd pointer from the 1st, returning the difference in addresses. */
| 82 | |
| 83 | /** Subtracts the 2nd pointer from the 1st, returning the difference in addresses. */ |
| 84 | constexpr inline ptrdiff_t pointerDiff(const void *bigger, const void *smaller) noexcept { |
| 85 | return (uint8_t*)bigger - (uint8_t*)smaller; |
| 86 | } |
| 87 | |
| 88 | |
| 89 | #pragma mark - PURE_SLICE: |
no outgoing calls
no test coverage detected