29 Memory_Pool(
const std::vector<void*>& pages,
size_t page_size);
33 void* allocate(
size_t size);
35 bool deallocate(
void* p,
size_t size)
noexcept;
44 const size_t m_page_size = 0;
48 std::deque<uint8_t*> m_free_pages;
49 std::map<size_t, std::deque<Bucket>> m_buckets_for;
50 uintptr_t m_min_page_ptr;
51 uintptr_t m_max_page_ptr;