Remove all the items from the stack
| 131 | |
| 132 | /// Remove all the items from the stack |
| 133 | void clear() { |
| 134 | |
| 135 | // Destruct the items |
| 136 | for (uint64 i = 0; i < mNbElements; i++) { |
| 137 | mArray[i].~T(); |
| 138 | } |
| 139 | |
| 140 | mNbElements = 0; |
| 141 | } |
| 142 | |
| 143 | /// Push an element into the stack |
| 144 | void push(const T& element) { |
nothing calls this directly
no outgoing calls
no test coverage detected