Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::vm::managed_vector< T, Allocator > Class Template Reference

#include <vector.hpp>

Inheritance diagram for sysio::vm::managed_vector< T, Allocator >:
Collaboration diagram for sysio::vm::managed_vector< T, Allocator >:

Public Member Functions

constexpr void set_owner (Allocator &alloc)
 
constexpr void set_owner (Allocator &alloc)
 
- Public Member Functions inherited from sysio::vm::detail::vector< T, Allocator >
constexpr vector (Allocator &allocator, size_t size=0)
 
constexpr vector (const vector &mv)=delete
 
constexpr vector (vector &&mv)=default
 
constexpr vectoroperator= (vector &&mv)=default
 
constexpr void resize (size_t size)
 
template<typename U , typename = std::enable_if_t<std::is_same_v<T, std::decay_t<U>>, int>>
constexpr void push_back (U &&val)
 
constexpr void emplace_back (T &&val)
 
constexpr void back ()
 
constexpr void pop_back ()
 
constexpr Tat (size_t i)
 
constexpr Tat (size_t i) const
 
constexpr Tat_no_check (size_t i)
 
constexpr Tat_no_check (size_t i) const
 
constexpr Toperator[] (size_t i) const
 
constexpr Toperator[] (size_t i)
 
constexpr Traw () const
 
constexpr size_t size () const
 
constexpr void set (T *data, size_t size, size_t index=-1)
 
constexpr void copy (T *data, size_t size)
 
constexpr vector (Allocator &allocator, size_t size=0)
 
constexpr vector (const vector &mv)=delete
 
constexpr vector (vector &&mv)=default
 
constexpr vectoroperator= (vector &&mv)=default
 
constexpr void resize (size_t size)
 
template<typename U , typename = std::enable_if_t<std::is_same_v<T, std::decay_t<U>>, int>>
constexpr void push_back (U &&val)
 
constexpr void emplace_back (T &&val)
 
constexpr void back ()
 
constexpr void pop_back ()
 
constexpr Tat (size_t i)
 
constexpr Tat (size_t i) const
 
constexpr Tat_no_check (size_t i)
 
constexpr Tat_no_check (size_t i) const
 
constexpr Toperator[] (size_t i) const
 
constexpr Toperator[] (size_t i)
 
constexpr Traw () const
 
constexpr size_t size () const
 
constexpr void set (T *data, size_t size, size_t index=-1)
 
constexpr void copy (T *data, size_t size)
 

Detailed Description

template<typename T, typename Allocator>
class sysio::vm::managed_vector< T, Allocator >

Definition at line 101 of file vector.hpp.

Member Function Documentation

◆ set_owner() [1/2]

template<typename T , typename Allocator >
void sysio::vm::managed_vector< T, Allocator >::set_owner ( Allocator & alloc)
inlineconstexpr

Definition at line 104 of file vector.hpp.

104{ detail::vector<T, Allocator>::_allocator = &alloc; }

◆ set_owner() [2/2]

template<typename T , typename Allocator >
void sysio::vm::managed_vector< T, Allocator >::set_owner ( Allocator & alloc)
inlineconstexpr

Definition at line 104 of file vector.hpp.

104{ detail::vector<T, Allocator>::_allocator = &alloc; }

The documentation for this class was generated from the following files: