Template Struct Alloc< BumpAlloc< MaxAlign > >

Struct Documentation

template<usize MaxAlign>
struct Alloc<BumpAlloc<MaxAlign>>

Public Types

using ImplMut = _detail::_mem::BumpAllocLayout<MaxAlign>&
using RefMut = proxsuite::linalg::veg::RefMut<BumpAlloc<MaxAlign>>

Public Static Functions

static inline VEG_INLINE auto alloc(RefMut ref, mem::Layout layout) noexcept -> AllocBlock
static inline VEG_INLINE void dealloc (RefMut ref, void *ptr, mem::Layout layout) noexcept
static inline VEG_INLINE auto grow(RefMut ref, void *ptr, mem::Layout old_layout, usize new_byte_size, RelocFn reloc) noexcept -> mem::AllocBlock