my.alloc.class_

Members

Functions

dispose
void dispose(Allocator allocator_, T obj)
Undocumented in source. Be warned that the author may not have intended to support it.
dispose
void dispose(Allocator allocator_, Object obj, size_t sz)
Undocumented in source. Be warned that the author may not have intended to support it.
make
T make(Allocator allocator, Args args)

Allocate a class using allocator and initialize with args

Structs

Bundle
struct Bundle(Allocator)

A bundle of classes (different classes) that are destroyed and freed when the bundles destructor is called.

Meta

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

Some code is copied from Atila Neves automem.

Convenient functions to use std.experimental.allocator with classes.