Data structures that track free blocks.
Functions | |
template<typename T , typename U = size_t> | |
constexpr U | pw::allocator::internal::CountRZero (T t) |
template<typename T , typename U = size_t> | |
constexpr U | pw::allocator::internal::CountLZero (T t) |
|
constexpr |
Like cpp20:countl_zero, but returns an unsigned type.
Useful for managing the bitmaps that several allocators use to track empty buckets.
|
constexpr |
Like cpp20:countr_zero, but returns an unsigned type.
Useful for managing the bitmaps that several allocators use to track empty buckets.