Use std::prev to access next-to-last list element