#include <list> void pop_back();
The pop_back() function removes the last element of the list.
pop_back() runs in constant time.