text cover

Data Abstraction and Problem Solving with C++

Walls and Mirrors

by Frank M. Carrano

Addison Wesley Logo

c06p312.h

Go to the documentation of this file.
00001 
00014 template <typename T, typename Container = deque <T> >
00015 class stack
00016 {
00017 public:
00021    explicit stack(const Container& cnt = Container());
00022 
00028    bool empty() const;
00029 
00036    size_type size() const;
00037 
00041    T &top();
00042 
00047    void pop();
00048 
00053    void push(const T& x);
00054 
00055 }; // end std::stack

Generated on Sun Aug 27 16:41:03 2006 for AWLogo by  doxygen 1.4.6