Skip to content

Latest commit

 

History

History
13 lines (6 loc) · 190 Bytes

File metadata and controls

13 lines (6 loc) · 190 Bytes

pointer-arithmetic

std::size_t

std::ptrdiff_t

pointer + n = pointer incremented by n

pointer - n = pointer decremented by n

pointer1 - pointer2 = distance between the two pointers!