cpp/iterator/prev

Return the $th$ predecessor (or $th$ successor if is negative) of iterator.

Return value
An iterator of type that holds the $th$ predecessor (or $th$ successor if  is negative) of iterator.

Complexity
Linear.

However, if additionally meets the requirements of, complexity is constant.