type
<cstddef>

ptrdiff_t

Result of pointer subtraction
Alias of one of the fundamental signed integer types.

It is a type able to represent the result of any valid pointer subtraction operation.

A pointer subtraction is only guaranteed to have a valid defined value for pointers to elements of the same array (or for the element just past the last in the array).