A collection of various allocators and allocator combinators inspired by Andrei Alexandrescu's CppCon 2015 talk std::allocator Is to Allocation what std::vector Is to Vexation and the Zig programming language.
allocandrescu
allows you to safely compose allocators using combinators such as
cond
and fallback
.
It also provides a bunch of simple allocators like Stack
.
This crate depends on allocator-api2
, a polyfill for the unstable allocator_api
feature.