An adapter changes the interface for a container but does little or no work itself. The stack and queue containers use another data structure (either vector, deque or list) to hold the elements, but just change the names of the insertion and removal operations.