API Reference — pma

36 entries across 8 modules.

By Task

Memory management

Allocators and resource strategies for dynamic memory.

API Module Summary
MemoryResource MemoryResource Abstract base class for memory allocation
PolyAllocator PolyAllocator Polymorphic allocator wrapping MemoryResource
DefaultMemoryResource DefaultMemoryResource Default system memory allocator
AlignedMemoryResource AlignedMemoryResource Allocator with custom alignment support
ArenaMemoryResource ArenaMemoryResource Arena-style allocator for bulk allocation

Memory resource utilities

API Module Summary
max_align_of PolyAllocator Maximum alignment value for types
min_align_t PolyAllocator Minimum alignment type
TDefaultMemoryResource PolyAllocator Template for default memory resource
rebind PolyAllocator Rebind allocator to different type

Pointer management

Safe pointer wrappers for ownership and lifetime management.

API Module Summary
ScopedPtr ScopedPtr Exclusive ownership smart pointer
makeScoped ScopedPtr Factory function for scoped pointers
New ScopedPtr Allocate and construct in one call
Delete ScopedPtr Deallocate with custom destructor
FactoryCreate ScopedPtr Create instances via factory
FactoryDestroy ScopedPtr Destroy instances via factory

Managed instances

Instances with shared or unique lifetime management.

API Module Summary
ManagedInstance ManagedInstance Base for managed pointer instances
SharedInstance ManagedInstance Shared ownership instance wrapper
UniqueInstance ManagedInstance Unique ownership instance wrapper
MemoryResource ManagedInstance Associated memory resource
PointerType ManagedInstance Underlying pointer type

Standard container aliases

Type aliases for STL containers.

API Module Summary
String TypeDefs Alias for std::string
Vector TypeDefs Alias for std::vector
Matrix TypeDefs Alias for 2D vector (vector of vectors)
List TypeDefs Alias for std::list
Set TypeDefs Alias for std::set
UnorderedSet TypeDefs Alias for std::unordered_set
Map TypeDefs Alias for std::map
UnorderedMap TypeDefs Alias for std::unordered_map

Instance creation & destruction

API Module Summary
DefaultInstanceCreator ScopedPtr Creates default instances
DefaultInstanceDestroyer ScopedPtr Destroys default instances

All Modules

Module File Entries
AlignedMemoryResource resources/AlignedMemoryResource.md 1
ArenaMemoryResource resources/ArenaMemoryResource.md 1
DefaultMemoryResource resources/DefaultMemoryResource.md 1
ManagedInstance utils/ManagedInstance.md 5
MemoryResource MemoryResource.md 1
PolyAllocator PolyAllocator.md 5
ScopedPtr ScopedPtr.md 8
TypeDefs TypeDefs.md 8