Allocator

nn::fnd::ExpHeapTemplate::Allocator::Allocator Constructor

Syntax

Allocator(
     ExpHeapTemplate< LockPolicy > & heap,
     bit8 groupId = 0,
     AllocationMode mode = ExpHeapBase::ALLOCATION_MODE_FIRST_FIT,
     bool reuse = false
);

Parameters

Name Description
in heap Specifies the expanded heap.
in groupId Specifies the group ID.
in mode Specifies the mode to use for memory block allocation.
in reuse Specifies whether to reuse the gaps in memory that occur during alignment.

Description

Constructor that specifies the expanded heap and allocation options.


CONFIDENTIAL