proxsuite 0.6.7
The Advanced Proximal Optimization Toolbox
Loading...
Searching...
No Matches
proxsuite::linalg::veg::_detail::_collections Namespace Reference

Classes

struct  AllocCleanup
 
struct  Cleanup
 
struct  CloneFn
 
struct  CloneFromImpl< false >
 
struct  CloneFromImpl< true >
 
struct  CloneImpl
 
struct  CloneImpl< false >
 
struct  CloneImpl< true >
 
struct  DestroyImpl
 
struct  DestroyImpl< false >
 
struct  DestroyImpl< true >
 
struct  relocate_pointer
 
struct  relocate_pointer< T, false >
 
struct  relocate_pointer_trivial
 
struct  VecImpl
 

Functions

template<typename T , typename A , typename C >
void backward_destroy (RefMut< A > alloc, RefMut< C > cloner, T *ptr, T *ptr_end)
 
VEG_INLINE constexpr auto vector_grow_compute (usize current_cap) noexcept -> usize
 
VEG_INLINE constexpr auto vector_grow_choose (usize current_cap, usize new_cap) noexcept -> usize
 
template<typename T >
auto relocate (void *out, void const *in, usize nbytes) noexcept -> void *
 
template<typename T , typename A , typename C >
void slice_clone (RefMut< A > alloc, RefMut< C > cloner, T *out, T *out_end, T const *in)
 
template<typename T , typename A , typename C >
void slice_clone_from (RefMut< A > alloc, RefMut< C > cloner, T *out, T *out_end, T const *in) VEG_NOEXCEPT_IF(true)
 
template<typename T >
auto relocate_backward (void *out, void const *in, usize nbytes) noexcept -> void *
 
template<typename T , typename A , typename C >
VEG_INLINE void clone_from (RefMut< A > lhs_alloc, RefMut< C > cloner, vector::RawVector< T > &lhs_raw, Ref< A > rhs_alloc, vector::RawVector< T > const rhs_raw) VEG_NOEXCEPT_IF(VEG_CONCEPT(nothrow_copy_assignable< A >) &&VEG_CONCEPT(alloc
 

Function Documentation

◆ backward_destroy()

template<typename T , typename A , typename C >
void proxsuite::linalg::veg::_detail::_collections::backward_destroy ( RefMut< A > alloc,
RefMut< C > cloner,
T * ptr,
T * ptr_end )

Definition at line 80 of file collection_algo.hpp.

◆ vector_grow_compute()

VEG_INLINE constexpr auto proxsuite::linalg::veg::_detail::_collections::vector_grow_compute ( usize current_cap) -> usize
constexprnoexcept

Definition at line 43 of file vec.hpp.

◆ vector_grow_choose()

VEG_INLINE constexpr auto proxsuite::linalg::veg::_detail::_collections::vector_grow_choose ( usize current_cap,
usize new_cap ) -> usize
constexprnoexcept

Definition at line 49 of file vec.hpp.

◆ relocate()

template<typename T >
auto proxsuite::linalg::veg::_detail::_collections::relocate ( void * out,
void const * in,
usize nbytes ) -> void*
noexcept

Definition at line 197 of file vec.hpp.

◆ slice_clone()

template<typename T , typename A , typename C >
void proxsuite::linalg::veg::_detail::_collections::slice_clone ( RefMut< A > alloc,
RefMut< C > cloner,
T * out,
T * out_end,
T const * in )

Definition at line 162 of file vec.hpp.

◆ slice_clone_from()

template<typename T , typename A , typename C >
void proxsuite::linalg::veg::_detail::_collections::slice_clone_from ( RefMut< A > alloc,
RefMut< C > cloner,
T * out,
T * out_end,
T const * in )

Definition at line 175 of file vec.hpp.

◆ relocate_backward()

template<typename T >
auto proxsuite::linalg::veg::_detail::_collections::relocate_backward ( void * out,
void const * in,
usize nbytes ) -> void*
noexcept

Definition at line 213 of file vec.hpp.

◆ clone_from()

template<typename T , typename A , typename C >
VEG_INLINE void proxsuite::linalg::veg::_detail::_collections::clone_from ( RefMut< A > lhs_alloc,
RefMut< C > cloner,
vector::RawVector< T > & lhs_raw,
Ref< A > rhs_alloc,
vector::RawVector< T > const rhs_raw ) &&

Definition at line 488 of file vec.hpp.