Stay organized with collections
Save and categorize content based on your preferences.
litert::Mallocator
#include <litert_buffer_ref.h>
Defines allocation and deallocation behavior for owning buffer refs.
Summary
An allocator is a trivially constructible/destructible object that overrides operator() for allocating and freeing memory. A memory allocator based on malloc and free.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-05-28 UTC."],[],[]]