proxsuite 0.6.7
The Advanced Proximal Optimization Toolbox
Loading...
Searching...
No Matches
proxsuite::linalg::veg::mem::Cloner< DefaultCloner > Struct Reference

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

Public Types

template<typename T >
using trivial_clone = meta::bool_constant<VEG_CONCEPT(trivially_copyable<T>)>
 

Public Member Functions

 VEG_TEMPLATE ((typename T, typename Alloc), requires(VEG_CONCEPT(copyable< T >)), VEG_NODISCARD VEG_INLINE static auto clone,(, RefMut< DefaultCloner >),(rhs, Ref< T >),(, RefMut< Alloc >)) VEG_NOEXCEPT_IF(VEG_CONCEPT(nothrow_copyable< T >)) -> T
 
 VEG_TEMPLATE ((typename T, typename Alloc), requires(VEG_CONCEPT(copyable< T >)), VEG_INLINE static void clone_from,(, RefMut< DefaultCloner >),(lhs, RefMut< T >),(rhs, Ref< T >),(, RefMut< Alloc >))
 

Static Public Member Functions

template<typename T , typename Alloc >
static VEG_INLINE void destroy (RefMut< DefaultCloner >, T *ptr, RefMut< Alloc >)
 

Detailed Description

Definition at line 292 of file alloc.hpp.

Member Typedef Documentation

◆ trivial_clone

Member Function Documentation

◆ destroy()

Definition at line 298 of file alloc.hpp.

◆ VEG_TEMPLATE() [1/2]

Definition at line 305 of file alloc.hpp.

◆ VEG_TEMPLATE() [2/2]

proxsuite::linalg::veg::mem::Cloner< DefaultCloner >::VEG_TEMPLATE ( (typename T, typename Alloc) ,
requires(VEG_CONCEPT(copyable< T >)) ,
VEG_INLINE static void clone_from,
(, RefMut< DefaultCloner< DefaultCloner > >) ,
(lhs, RefMut< T >) ,
(rhs, Ref< T >) ,
(, RefMut< Alloc >)  )
inline

Definition at line 312 of file alloc.hpp.


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