C++ stl quiz II Q10)

How can the pop() function of stack be implemented using vectors in O(1) time complexity?