! Resizes the available memory for the array. \param capacity The number of entries that the set should be able to hold. */
| 606 | The number of entries that the set should be able to hold. |
| 607 | */ |
| 608 | PX_INLINE void grow(uint32_t capacity) |
| 609 | { |
| 610 | PX_ASSERT(this->capacity() < capacity); |
| 611 | recreate(capacity); |
| 612 | } |
| 613 | |
| 614 | /*! |
| 615 | Creates a new memory block, copies all entries to the new block and destroys old entries. |