C/C++ API Reference
Loading...
Searching...
No Matches
pw::allocator::DetailedBlockParameters< OffsetType_, WhenFree > Struct Template Reference

Overview

template<typename OffsetType_, typename WhenFree>
struct pw::allocator::DetailedBlockParameters< OffsetType_, WhenFree >

Parameters type that encapsulates the block parameters.

Template Parameters
OffsetTypeUnsigned integral type used to encode offsets. Larger types can address more memory, but consume greater overhead.
WhenFreeOptional intrusive type that uses the block's usable space to track the block when free. This will affect the minimum alignment, and what portion of the usable space is skipped when poisoning.

Public Types

using OffsetType = std::make_unsigned_t< OffsetType_ >
 

Static Public Attributes

static constexpr Layout kLayoutWhenFree = Layout::Of<WhenFree>()
 

The documentation for this struct was generated from the following file: