Blender  V3.3
Classes | Namespaces
BLI_linear_allocator.hh File Reference
#include "BLI_string_ref.hh"
#include "BLI_utility_mixins.hh"
#include "BLI_vector.hh"

Go to the source code of this file.

Classes

class  blender::LinearAllocator< Allocator >
 

Namespaces

 blender
 

Detailed Description

A linear allocator is the simplest form of an allocator. It never reuses any memory, and therefore does not need a deallocation method. It simply hands out consecutive buffers of memory. When the current buffer is full, it reallocates a new larger buffer and continues.

Definition in file BLI_linear_allocator.hh.