Daily bit(e) of C++ | std::next, std::prev
Daily bit(e) of C++ #160, Iterator utilities to obtain next and previous iterator: std::next, std::prev.
std::next and std::prev are C++11 iterator utilities that return the succeeding or preceding iterator.
If the provided iterator models random access, the operation will be constant, even if a custom distance is specified.
not known much but this is super useful!