Returns a pointer offset from this pointer by the specified number of instances.
- Xcode 11.2+
- Swift Standard Library
The number of strides of the pointer’s
Pointeetype to offset this pointer. To access the stride, use
nmay be positive, negative, or zero.
A pointer offset from this pointer by
n instances of the
p and distance
n, the result of
p is equivalent to
p + n.
The resulting pointer must be within the bounds of the same allocation as this pointer.