| 94 | } |
| 95 | |
| 96 | static SlotCount bytesToSlots(size_t n) { |
| 97 | return static_cast<SlotCount>(n / sizeof(T)); |
| 98 | } |
| 99 | |
| 100 | static size_t slotsToBytes(SlotCount n) { |
| 101 | return n * sizeof(T); |
nothing calls this directly
no outgoing calls
no test coverage detected