Hello all, so I am trying to check for the last element in the list, but I don't know how. list.begin() is the first element, but list.end() is the one past the last element. Doing list.end()-- seems to give me an error. My thought of doing this is using a loop that will keep iterating until it hits the list.end(). When it does that I --iter to get the last element and initialize it as something else. However is there a shorter way of doing this?