Skip to content

Memory allocation


aligned_allocate function

template <typename T = void,
          size_t alignment = default_memory_alignment>
T *aligned_allocate(size_t size = 1)

Allocates aligned memory


template <typename T = void>
T *aligned_allocate(size_t size, size_t alignment)

Allocates aligned memory


aligned_deallocate function

template <typename T = void> void aligned_deallocate(T *ptr)

Deallocates aligned memory


data_allocator class

template <typename T> data_allocator

Aligned allocator


Auto-generated from sources, Revision 6aea976a464de59d522d0c629e64bf0c044e6777, https://github.com/kfrlib/kfr/blob/6aea976a464de59d522d0c629e64bf0c044e6777/include/kfr/