operator + method
- int offset
A pointer to the offset
th Pointer<T> after this one.
Returns a pointer to the Pointer<T> whose address is
offset
times the size of Pointer<T>
after the address of this pointer.
That is (this + offset).address == this.address + offset * sizeOf<Pointer<T>>()
.
Also (this + offset).value
is equivalent to this[offset]
,
and similarly for setting.
Implementation
external Pointer<Pointer<T>> operator +(int offset);