stl_allocator

std::allocator for C++ standard library containers that uses fixed blocks (xallocator) instead of the heap.

Author
David Lafreniere
Website
https://github.com/endurodave/stl_allocator
Category
Data Processing
License
MIT
Library Type
Contributed
Architectures
Any

stl_allocator is a drop-in allocator for std::list, std::map, std::set, std::string, std::stringstream and more, with ready-made aliases (xlist, xmap, xset, xstring, xsstream, xqueue) and xmake_shared. Memory comes from xallocator's fixed blocks, so containers don't fragment the heap. Header only. Needs the C++ standard library (not 8-bit AVR).

Downloads

Filename Release Date File Size
stl_allocator-1.2.0.zip 2026-11-15 35.23 KiB