memterface 1.0.2

Generic allocator API for templated code. Intended to supersede std.experimental.allocator.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

Memterface

Official git repository

A generic allocator API for templated code. Intended to supersede std.experimental.allocator.

If there are any allocator designs you would like to see in memterface.allocator.*, or you need a new API extension to make your allocator more awesome, then please open an issue!

Documentation

Inline documentation is available in the library's source code:

ModuleDescription
memterface.ifaceThe actual allocator API & how to use it.
memterface.ctorCreate valid type instances with memory from allocators.
memterface.wrapWrap allocators from std.experimental.allocator.
memterface.allocator.gcD's built-in garbage collector.
memterface.allocator.mallocThe C standard library's malloc.
memterface.allocator.bottomThe fallback allocator used at the bottom of a chain of fallbacks.
Authors:
  • Aya Partridge
Dependencies:
none
Versions:
1.0.2 2025-Feb-21
1.0.1 2025-Feb-21
1.0.0 2025-Feb-20
~trunk 2025-Feb-21
Show all 4 versions
Download Stats:
  • 2 downloads today

  • 2 downloads this week

  • 2 downloads this month

  • 2 downloads total

Score:
0.3
Short URL:
memterface.dub.pm