pop back in list<int> c++ code example Example: c++ list pop back void pop_back(); // desc: remove last element. complexity: constant