stdx.allocator.building_blocks.affix_allocator

Members

Structs

AffixAllocator
struct AffixAllocator(Allocator, Prefix, Suffix = void)

Allocator that adds some extra data before (of type Prefix) and/or after (of type Suffix) any allocation made with its parent allocator. This is useful for uses where additional allocation-related information is needed, such as mutexes, reference counts, or walls for debugging memory corruption errors.

Meta