title: How get next (previous) element in std::list without incrementing (decrementing) iterator?
body: <p>Say I have an <code>std::list&lt;int&gt; lst</code> and some <code>std::list&lt;int&gt;::iterator it</code> for iterating through the list. And depended to value of the <code>it</code> I want to use <code>it + 1</code> or <code>it - 1</code> in my code. Is there some good way to do that like <code>next()</code>, <code>prev()</code> (I couldn't find such things in stl documentation)? Or should I copy the <code>it</code> each time and increment(decrement) the copy?</p>