IN2OSM  1.0.1
MemoryPoolAllocator< BaseAllocator >::ChunkHeader

Chunk header for perpending to each chunk. More...

Collaboration diagram for MemoryPoolAllocator< BaseAllocator >::ChunkHeader:
Collaboration graph

Public Attributes

size_t capacity
 Capacity of the chunk in bytes (excluding the header itself). More...
 
size_t size
 Current size of allocated memory in bytes. More...
 
ChunkHeadernext
 Next chunk in the linked list. More...
 

Detailed Description

template<typename BaseAllocator = CrtAllocator>
struct MemoryPoolAllocator< BaseAllocator >::ChunkHeader

Chunk header for perpending to each chunk.

Chunks are stored as a singly linked list.

Definition at line 269 of file allocators.h.

Member Data Documentation

◆ capacity

size_t capacity

Capacity of the chunk in bytes (excluding the header itself).

Definition at line 270 of file allocators.h.

◆ next

ChunkHeader* next

Next chunk in the linked list.

Definition at line 272 of file allocators.h.

◆ size

size_t size

Current size of allocated memory in bytes.

Definition at line 271 of file allocators.h.


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