return the number of allocation ClassIds for this pool based on the allocation sizes that it was configured with. All allocations from this pool will have ClassId from [0 .. numClassId - 1] (inclusive).
| 287 | // allocation sizes that it was configured with. All allocations from this |
| 288 | // pool will have ClassId from [0 .. numClassId - 1] (inclusive). |
| 289 | unsigned int getNumClassId() const noexcept { |
| 290 | return static_cast<unsigned int>(acSizes_.size()); |
| 291 | } |
| 292 | |
| 293 | // Gets allocation class for a given class id and calls forEachAllocation on |
| 294 | // that allocation class. |