|
|
| version 1.24, 2005/08/09 08:14:50 | version 1.25, 2006/04/09 13:38:47 |
|---|---|
| Line 21 public: | Line 21 public: |
| void push(T item) { | void push(T item) { |
| if(ftop<this->count()) // cell is already allocated? | if(ftop<this->count()) // cell is already allocated? |
| put(ftop, item); // use it | this->put(ftop, item); // use it |
| else | else |
| *this+=item; // append it | *this+=item; // append it |
| ftop++; | ftop++; |