HAllocator
A Simple C++ Memory Allocator
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
BlocksContainer.hpp File Reference

Container managing multiple memory blocks for large-scale allocations. More...

#include <cstddef>
#include <limits>
#include <utility>
#include "Block.hpp"
Include dependency graph for BlocksContainer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  hh::halloc::BlocksContainer< BlockSize, MaxNumBlocks >
 Manages multiple memory blocks for scalable allocation. More...
 

Namespaces

namespace  hh
 
namespace  hh::halloc
 

Functions

std::size_t hh::halloc::get_actual_value (std::size_t value)
 Helper function to extract actual size from encoded value.
 

Detailed Description

Container managing multiple memory blocks for large-scale allocations.

This file defines a template class that manages multiple Block instances to support allocations beyond a single block's capacity. It provides automatic block creation and best-fit search across all blocks.