5 releases
0.1.0-alpha.4 | Jul 28, 2024 |
---|---|
0.1.0-alpha.1 | Jul 27, 2024 |
#156 in No standard library
22KB
366 lines
allocandrescu
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.
Dependencies
~245–330KB