Destructor
| 237 | |
| 238 | /// Destructor |
| 239 | ~Array() { |
| 240 | |
| 241 | // If elements have been allocated |
| 242 | if (mCapacity > 0) { |
| 243 | |
| 244 | // Clear the array |
| 245 | clear(true); |
| 246 | } |
| 247 | } |
| 248 | |
| 249 | /// Allocate memory for a given number of elements |
| 250 | void reserve(uint64 capacity) { |
nothing calls this directly
no outgoing calls
no test coverage detected