Standard C++ Library Reference ISO/IEC (VERSION3)
sequence. The second constructor initializes the stored object with c(cont), to specify an
initial controlled sequence that is a copy of the sequence controlled by cont.
stack::top
value_type& top();
const value_type& top() const;
The member function returns a reference to the last element of the controlled sequence, which
must be non-empty.
stack::value_type
typedef typename Container::value_type value_type;
The type is a synonym for Container::value_type.
See also the Table of Contents and the Index.
Copyright © 1994-2001 by P.J. Plauger. Portions derived from work copyright © 1994 by
Hewlett-Packard Company. All rights reserved.