HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Types | Public Member Functions
v1::vector_span< T > Class Template Reference

Public Types

using value_type = T
 
using iterator = vector_span_iterator<value_type>
 
using const_iterator = vector_span_iterator<value_type const>
 

Public Member Functions

 vector_span (value_type *buffer, ssize_t nr_elements) noexcept
 
 vector_span (std::span< value_type > span) noexcept
 
 vector_span (vector_span const &other)=default
 
 vector_span (vector_span &&other)=default
 
vector_spanoperator= (vector_span const &other)=default
 
vector_spanoperator= (vector_span &&other)=default
 
iterator begin () noexcept
 
const_iterator begin () const noexcept
 
const_iterator cbegin () const noexcept
 
iterator end () noexcept
 
const_iterator end () const noexcept
 
const_iterator cend () const noexcept
 
std::size_t size () const noexcept
 
value_type & operator[] (std::size_t i) noexcept
 
value_type const & operator[] (std::size_t i) const noexcept
 
value_type & front () noexcept
 
value_type const & front () const noexcept
 
value_type & back () noexcept
 
value_type const & back () const noexcept
 
bool empty () const noexcept
 
bool full () const noexcept
 
void clear () noexcept
 
void push_back (value_type const &rhs) noexcept
 
void push_back (value_type &&rhs) noexcept
 
template<typename... Args>
void emplace_back (Args &&...args) noexcept
 
void pop_back () noexcept
 

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