@brief Return the memory footprint of this array in bytes.
| 338 | |
| 339 | /// @brief Return the memory footprint of this array in bytes. |
| 340 | size_t memUsage() const |
| 341 | { |
| 342 | return sizeof(*this) + mPageTable.size() * Page::memUsage(); |
| 343 | } |
| 344 | |
| 345 | /// @brief Return true if the container contains no elements. |
| 346 | bool isEmpty() const { return mSize == 0; } |