API Reference — pma/resources/DefaultMemoryResource
class DefaultMemoryResource : public MemoryResource
A MemoryResource that delegates directly to malloc/free.
Why this exists
DefaultMemoryResource gives pma containers a MemoryResource-compatible fallback that behaves exactly like ordinary heap allocation, so code that doesn't need arena pooling or alignment guarantees can still participate in the same allocator abstraction as code that does.
Relationships
MemoryResource— base interfaceDefaultMemoryResourceimplements.AlignedMemoryResource/ArenaMemoryResource— sibling resources with stricter alignment or pooled-allocation behavior.