proxsuite 0.6.7
The Advanced Proximal Optimization Toolbox
Loading...
Searching...
No Matches
proxsuite::linalg::veg::dynstack::DynStackMut Struct Reference

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

Public Member Functions

 DynStackMut (FromSliceMut, SliceMut< unsigned char > s) VEG_NOEXCEPT
 
VEG_NODISCARD auto remaining_bytes () const VEG_NOEXCEPT -> isize
 
VEG_NODISCARD auto ptr_mut () const VEG_NOEXCEPT -> void *
 
VEG_NODISCARD auto ptr () const VEG_NOEXCEPT -> void const *
 
 VEG_TEMPLATE ((typename T), requires VEG_CONCEPT(constructible< T >), VEG_NODISCARD auto make_new,(, Tag< T >),(len, isize),(align=alignof(T), isize)) VEG_NOEXCEPT_IF(VEG_CONCEPT(nothrow_constructible< T >)) -> DynStackArray< T >
 
 VEG_TEMPLATE ((typename T), requires VEG_CONCEPT(constructible< T >), VEG_NODISCARD auto make_new_for_overwrite,(, Tag< T >),(len, isize),(align=alignof(T), isize)) VEG_NOEXCEPT_IF(VEG_CONCEPT(nothrow_constructible< T >)) -> DynStackArray< T >
 
template<typename T >
VEG_NODISCARD auto make_alloc (Tag< T >, isize len, isize align=alignof(T)) VEG_NOEXCEPT -> DynStackAlloc< T >
 

Friends

template<typename T >
struct DynStackAlloc
 
template<typename T >
struct DynStackArray
 
struct _detail::_dynstack::cleanup
 
struct _detail::_dynstack::DynAllocBase
 

Detailed Description

Definition at line 219 of file dynamic_stack.hpp.

Constructor & Destructor Documentation

◆ DynStackMut()

proxsuite::linalg::veg::dynstack::DynStackMut::DynStackMut ( FromSliceMut ,
SliceMut< unsigned char > s )
inline

Definition at line 222 of file dynamic_stack.hpp.

Member Function Documentation

◆ remaining_bytes()

VEG_NODISCARD auto proxsuite::linalg::veg::dynstack::DynStackMut::remaining_bytes ( ) const -> isize
inline

Definition at line 229 of file dynamic_stack.hpp.

◆ ptr_mut()

VEG_NODISCARD auto proxsuite::linalg::veg::dynstack::DynStackMut::ptr_mut ( ) const -> void*
inline

Definition at line 234 of file dynamic_stack.hpp.

◆ ptr()

VEG_NODISCARD auto proxsuite::linalg::veg::dynstack::DynStackMut::ptr ( ) const -> void const*
inline

Definition at line 236 of file dynamic_stack.hpp.

◆ VEG_TEMPLATE() [1/2]

proxsuite::linalg::veg::dynstack::DynStackMut::VEG_TEMPLATE ( (typename T) ,
requires VEG_CONCEPTconstructible< T >,
VEG_NODISCARD auto make_new,
(, Tag< T >) ,
(len, isize) ,
(align=alignof(T), isize)  ) -> DynStackArray<T>
inline

Definition at line 246 of file dynamic_stack.hpp.

◆ VEG_TEMPLATE() [2/2]

proxsuite::linalg::veg::dynstack::DynStackMut::VEG_TEMPLATE ( (typename T) ,
requires VEG_CONCEPTconstructible< T >,
VEG_NODISCARD auto make_new_for_overwrite,
(, Tag< T >) ,
(len, isize) ,
(align=alignof(T), isize)  ) -> DynStackArray<T>
inline

Definition at line 262 of file dynamic_stack.hpp.

◆ make_alloc()

template<typename T >
VEG_NODISCARD auto proxsuite::linalg::veg::dynstack::DynStackMut::make_alloc ( Tag< T > ,
isize len,
isize align = alignof(T) ) -> DynStackAlloc<T>
inline

Definition at line 280 of file dynamic_stack.hpp.

Friends And Related Symbol Documentation

◆ DynStackAlloc

template<typename T >
friend struct DynStackAlloc
friend

Definition at line 298 of file dynamic_stack.hpp.

◆ DynStackArray

template<typename T >
friend struct DynStackArray
friend

Definition at line 300 of file dynamic_stack.hpp.

◆ _detail::_dynstack::cleanup

Definition at line 301 of file dynamic_stack.hpp.

◆ _detail::_dynstack::DynAllocBase


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