The STL, for example, provides stacks, but not as one of the container
classes. Instead it provides
an
adapter class that turns an instance of a vector, for example, into a stack
with appropriate operations.
This page last modified on 24 January 2006.