Yes, you can go one back from the end. (Assuming that you know that the list isn’t empty.)
std::list<int>::iterator i = n.end();
--i;
Yes, you can go one back from the end. (Assuming that you know that the list isn’t empty.)
std::list<int>::iterator i = n.end();
--i;