7 #include <boost/memory/memory_block.hpp> 12 namespace boost {
namespace memory {
14 template <
typename bucketizer_type>
15 class bucketizer_helper final
18 bucketizer_helper(bucketizer_type& instance);
20 template <std::
size_t bucket>
24 bucketizer_type& instance_;
35 using allocator_type = allocator;
37 static const std::size_t buckets_count = (max - min) / step;
38 static const std::size_t min_size = min;
39 static const std::size_t max_size = max;
40 static const std::size_t step_size = step;
49 friend bucketizer_helper<this_bucketizer_type>;
51 allocator buckets_[(max - min) / step];
56 #include "bucketizer.ipp"
Represents an allocated memory block.