proxsuite 0.6.7
The Advanced Proximal Optimization Toolbox
|
#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 >) |
using proxsuite::linalg::veg::mem::Cloner< DefaultCloner >::trivial_clone = meta::bool_constant<VEG_CONCEPT(trivially_copyable<T>)> |
|
inlinestatic |
|
inline |
|
inline |