18#include "pw_allocator/capability.h"
19#include "pw_allocator/layout.h"
20#include "pw_allocator/pool.h"
21#include "pw_bytes/span.h"
22#include "pw_status/status.h"
24namespace pw::allocator {
35 kImplementsGetRequestedLayout | kImplementsGetUsableLayout |
36 kImplementsGetAllocatedLayout | kImplementsGetCapacity |
37 kImplementsRecognizes;
38 static constexpr size_t kMinSize =
sizeof(
void*);
39 static constexpr size_t kMinAlignment =
alignof(
void*);
59 const Layout allocated_layout_;
Definition: capability.h:64
Definition: chunk_pool.h:32
void DoDeallocate(void *ptr) override
ChunkPool(ByteSpan region, const Layout &layout)
Result< Layout > DoGetInfo(InfoType info_type, const void *ptr) const override
void * DoAllocate() override