Stack

From CometPublic

Jump to: navigation, search

This is the class that supports stacks of items and is declared with statements like

  stack{int} x();

With this declaration, x is an instance of the class stack that has the following API.

   class stack{T} {
      void push(T)
      ...
   }
Personal tools