proxsuite 0.6.7
The Advanced Proximal Optimization Toolbox
Loading...
Searching...
No Matches
proxsuite::linalg::veg::Vec< T, A, Dtor, Copy > Struct Template Reference

#include <proxsuite/linalg/veg/vec.hpp>

Inheritance diagram for proxsuite::linalg::veg::Vec< T, A, Dtor, Copy >:
[legend]
Collaboration diagram for proxsuite::linalg::veg::Vec< T, A, Dtor, Copy >:
[legend]

Public Member Functions

 Vec ()=default
 
 VEG_EXPLICIT_COPY (Vec)
 
- Public Member Functions inherited from proxsuite::linalg::veg::_detail::_collections::VecImpl< T, A, Dtor, Copy >
VEG_NODISCARD VEG_INLINE VEG_CPP14 (constexpr) auto alloc_ref() const VEG_NOEXCEPT -> Ref< A >
 
VEG_NODISCARD VEG_INLINE VEG_CPP14 (constexpr) auto raw_ref() const VEG_NOEXCEPT -> Ref< vector::RawVector< T > >
 
VEG_NODISCARD VEG_INLINE VEG_CPP14 (constexpr) auto alloc_mut(Unsafe) VEG_NOEXCEPT -> RefMut< A >
 
VEG_NODISCARD VEG_INLINE VEG_CPP14 (constexpr) auto raw_mut(Unsafe) VEG_NOEXCEPT -> RefMut< vector::RawVector< T > >
 
VEG_INLINE ~VecImpl () VEG_NOEXCEPT_IF(Dtor
 
VEG_INLINE VecImpl (Unsafe, FromRawParts, vector::RawVector< T > rawvec, A alloc) VEG_NOEXCEPT
 
VEG_INLINE VecImpl (VecImpl &&)=default
 
VEG_INLINE auto operator= (VecImpl &&rhs) -> VecImpl &
 
 VecImpl (VecImpl const &rhs) VEG_NOEXCEPT_IF(VEG_CONCEPT(nothrow_copyable< A >) &&VEG_CONCEPT(alloc
 
auto operator= (VecImpl const &rhs) VEG_NOEXCEPT_IF(VEG_CONCEPT(nothrow_copy_assignable< A >) &&VEG_CONCEPT(alloc
 
VEG_INLINE void reserve_exact (isize new_cap)
 
VEG_INLINE void reserve (isize new_cap)
 
VEG_INLINE void pop_several_unchecked (Unsafe unsafe, isize n)
 
VEG_INLINE void pop_several (isize n)
 
VEG_INLINE auto pop_unchecked (Unsafe) VEG_NOEXCEPT_IF(VEG_CONCEPT(nothrow_movable< T >)) -> T
 
VEG_INLINE auto pop_mid_unchecked (Unsafe, isize i) VEG_NOEXCEPT_IF(VEG_CONCEPT(nothrow_movable< T >)) -> T
 
VEG_INLINE auto pop () VEG_NOEXCEPT_IF(VEG_CONCEPT(nothrow_movable< T >)) -> T
 
VEG_INLINE auto pop_mid (isize i) VEG_NOEXCEPT_IF(VEG_CONCEPT(nothrow_movable< T >)) -> T
 
VEG_INLINE void clear () VEG_NOEXCEPT_IF(VEG_CONCEPT(nothrow_destructible< T >))
 
 VEG_TEMPLATE (typename U=T, requires(VEG_CONCEPT(constructible< U >)), void resize,(n, isize)) VEG_NOEXCEPT_IF(VEG_CONCEPT(alloc
 
 VEG_TEMPLATE (typename U=T, requires(VEG_CONCEPT(constructible< U >)), void resize_for_overwrite,(n, isize)) VEG_NOEXCEPT_IF(VEG_CONCEPT(alloc
 
 VEG_TEMPLATE (typename Fn, requires(VEG_CONCEPT(fn_once< Fn, T >)), VEG_INLINE void push_mid_with,(fn, Fn),(i, isize)) VEG_NOEXCEPT_IF(VEG_CONCEPT(nothrow_fn_once< Fn
 
T && VEG_CONCEPT (alloc::nothrow_alloc< A >))
 
VEG_INLINE void push_mid (T value, isize i) VEG_NOEXCEPT_IF(VEG_CONCEPT(nothrow_movable< T >) &&VEG_CONCEPT(alloc
 
 VEG_TEMPLATE (typename Fn, requires(VEG_CONCEPT(fn_once< Fn, T >)), VEG_INLINE void push_with_unchecked,(, Unsafe),(fn, Fn)) VEG_NOEXCEPT_IF(VEG_CONCEPT(nothrow_fn_once< Fn
 
T && VEG_CONCEPT (alloc::nothrow_alloc< A >))
 
 VEG_TEMPLATE (typename Fn, requires(VEG_CONCEPT(fn_once< Fn, T >)), VEG_INLINE void push_with,(fn, Fn)) VEG_NOEXCEPT_IF(VEG_CONCEPT(nothrow_fn_once< Fn
 
T && VEG_CONCEPT (alloc::nothrow_alloc< A >))
 
VEG_INLINE void push (T value) VEG_NOEXCEPT_IF(VEG_CONCEPT(nothrow_movable< T >) &&VEG_CONCEPT(alloc
 
VEG_INLINE void push_unchecked (Unsafe, T value)
 
VEG_NODISCARD VEG_INLINE auto as_ref () const VEG_NOEXCEPT -> Slice< T >
 
VEG_NODISCARD VEG_INLINE auto as_mut () VEG_NOEXCEPT -> SliceMut< T >
 
VEG_NODISCARD VEG_INLINE auto ptr () const VEG_NOEXCEPT -> T const *
 
VEG_NODISCARD VEG_INLINE auto ptr_mut () VEG_NOEXCEPT -> T *
 
VEG_NODISCARD VEG_INLINE auto len () const VEG_NOEXCEPT -> isize
 
VEG_NODISCARD VEG_INLINE auto capacity () const VEG_NOEXCEPT -> isize
 
VEG_NODISCARD VEG_INLINE auto byte_capacity () const VEG_NOEXCEPT -> isize
 
VEG_NODISCARD VEG_INLINE auto operator[] (isize i) const VEG_NOEXCEPT -> T const &
 
VEG_NODISCARD VEG_INLINE auto operator[] (isize i) VEG_NOEXCEPT -> T &
 

Detailed Description

template<typename T, typename A = mem::SystemAlloc, mem::DtorAvailable Dtor = mem::DtorAvailableFor<T>::value, mem::CopyAvailable Copy = mem::CopyAvailableFor<T>::value>
struct proxsuite::linalg::veg::Vec< T, A, Dtor, Copy >

Definition at line 1006 of file vec.hpp.

Constructor & Destructor Documentation

◆ Vec()

template<typename T , typename A = mem::SystemAlloc, mem::DtorAvailable Dtor = mem::DtorAvailableFor<T>::value, mem::CopyAvailable Copy = mem::CopyAvailableFor<T>::value>
proxsuite::linalg::veg::Vec< T, A, Dtor, Copy >::Vec ( )
default

Member Function Documentation

◆ VEG_EXPLICIT_COPY()

template<typename T , typename A = mem::SystemAlloc, mem::DtorAvailable Dtor = mem::DtorAvailableFor<T>::value, mem::CopyAvailable Copy = mem::CopyAvailableFor<T>::value>
proxsuite::linalg::veg::Vec< T, A, Dtor, Copy >::VEG_EXPLICIT_COPY ( Vec< T, A, Dtor, Copy > )

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