removes and returns the last item of a non-empty list
None
None
It is an error to attempt to pop an item from an empty list.
The returned list maintains all attributes of the original list.
std::pop | remove and return the last item of a collection |