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