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 {
41 Result<Layout>
DoGetInfo(InfoType info_type,
const void* ptr)
const override;
Definition: allocator.h:34
Implementation of Pool that satisfies requests using an Allocator.
Definition: allocator_as_pool.h:24
AllocatorAsPool(Allocator &allocator, const Layout &layout)
void DoDeallocate(void *ptr) override
Result< Layout > DoGetInfo(InfoType info_type, const void *ptr) const override
void * DoAllocate() override