proxsuite 0.7.2
The Advanced Proximal Optimization Toolbox
 
Loading...
Searching...
No Matches
proxsuite::linalg::veg::mem::Alloc< BumpAlloc< MaxAlign > > Struct Template Reference

#include <proxsuite/linalg/veg/memory/stack_alloc.hpp>

Public Types

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

Static Public Member Functions

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

Detailed Description

template<usize MaxAlign>
struct proxsuite::linalg::veg::mem::Alloc< BumpAlloc< MaxAlign > >

Definition at line 155 of file stack_alloc.hpp.

Member Typedef Documentation

◆ ImplMut

template<usize MaxAlign>
using proxsuite::linalg::veg::mem::Alloc< BumpAlloc< MaxAlign > >::ImplMut = _detail::_mem::BumpAllocLayout<MaxAlign>&

Definition at line 157 of file stack_alloc.hpp.

◆ RefMut

template<usize MaxAlign>
using proxsuite::linalg::veg::mem::Alloc< BumpAlloc< MaxAlign > >::RefMut = proxsuite::linalg::veg::RefMut<BumpAlloc<MaxAlign>>

Definition at line 158 of file stack_alloc.hpp.

Member Function Documentation

◆ alloc()

template<usize MaxAlign>
static VEG_INLINE auto proxsuite::linalg::veg::mem::Alloc< BumpAlloc< MaxAlign > >::alloc ( RefMut ref,
mem::Layout layout ) -> AllocBlock
inlinestaticnoexcept

Definition at line 160 of file stack_alloc.hpp.

◆ dealloc()

template<usize MaxAlign>
static VEG_INLINE void proxsuite::linalg::veg::mem::Alloc< BumpAlloc< MaxAlign > >::dealloc ( RefMut ref,
void * ptr,
mem::Layout layout )
inlinestaticnoexcept

Definition at line 165 of file stack_alloc.hpp.

◆ grow()

template<usize MaxAlign>
static VEG_INLINE auto proxsuite::linalg::veg::mem::Alloc< BumpAlloc< MaxAlign > >::grow ( RefMut ref,
void * ptr,
mem::Layout old_layout,
usize new_byte_size,
RelocFn reloc ) -> mem::AllocBlock
inlinestaticnoexcept

Definition at line 171 of file stack_alloc.hpp.


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