Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
This module defines TypedAllocator, a statically-typed allocator that
aggregates multiple untyped allocators and uses them depending on the static
properties of the types allocated. For example, distinct allocators may be used
for thread-local vs. thread-shared data, or for fixed-size data (struct,
class objects) vs. resizable data (arrays).
TypedAllocator acts like a chassis on which several specialized allocators
can be assembled. To let the system make a choice about a particular kind of
allocation, use Default for the respective parameters.