16#include "pw_allocator/allocator.h"
17#include "pw_allocator/layout.h"
18#include "pw_allocator/pool.h"
19#include "pw_status/status.h"
21namespace pw::allocator {
35 void* DoAllocate()
override;
38 void DoDeallocate(
void* ptr)
override;
41 Result<Layout> DoGetInfo(InfoType info_type,
const void* ptr)
const override;
Definition: allocator.h:32
Implementation of Pool that satisfies requests using an Allocator.
Definition: allocator_as_pool.h:24
AllocatorAsPool(Allocator &allocator, const Layout &layout)