Blender V4.3
blender::linear_allocator::ChunkedListSegment< T, Capacity > Struct Template Reference

#include <BLI_linear_allocator_chunked_list.hh>

Public Attributes

ChunkedListSegmentnext = nullptr
 
int64_t size = 0
 
std::array< TypedBuffer< T >, Capacity > values
 

Detailed Description

template<typename T, int64_t Capacity>
struct blender::linear_allocator::ChunkedListSegment< T, Capacity >

The list is a linked list of segments containing multiple elements. The capacity of each segment is a template parameter because that removes the need to store it for every segment.

Definition at line 19 of file BLI_linear_allocator_chunked_list.hh.

Member Data Documentation

◆ next

◆ size

◆ values

template<typename T , int64_t Capacity>
std::array<TypedBuffer<T>, Capacity> blender::linear_allocator::ChunkedListSegment< T, Capacity >::values

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