HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | Friends
v1::const_void_span Class Reference

Public Types

using size_type = std::size_t
 
using difference_type = std::ptrdiff_t
 
using pointer = void const *
 
using const_pointer = void const *
 

Public Member Functions

constexpr const_void_span (const_void_span const &) noexcept=default
 
constexpr const_void_span (const_void_span &&) noexcept=default
 
constexpr const_void_spanoperator= (const_void_span const &) noexcept=default
 
constexpr const_void_spanoperator= (const_void_span &&) noexcept=default
 
constexpr const_void_span (void const *pointer, size_t size) noexcept
 
constexpr const_void_span (void_span const &rhs) noexcept
 
template<typename T , std::size_t N>
constexpr const_void_span (std::array< T, N > const &rhs) noexcept
 
template<typename T , std::size_t N>
constexpr const_void_span (std::span< T, N > const &rhs) noexcept
 
constexpr pointer data () const noexcept
 
constexpr size_type size () const noexcept
 
constexpr size_type size_bytes () const noexcept
 
constexpr bool empty () const noexcept
 
template<std::size_t N>
constexpr const_void_span first () const noexcept
 
constexpr const_void_span first (size_type n) const noexcept
 
template<std::size_t N>
constexpr const_void_span last () const noexcept
 
constexpr const_void_span last (size_type n) const noexcept
 
template<std::size_t Offset, std::size_t Count = std::dynamic_extent>
constexpr const_void_span subspan () const noexcept
 
constexpr const_void_span subspan (size_type offset, size_type count=std::dynamic_extent) const noexcept
 

Static Public Attributes

static constexpr std::size_t extent = std::dynamic_extent
 

Friends

template<typename T , size_t E = std::dynamic_extent>
requires (std::is_const_v<T>)
constexpr friend std::span< T, E > as_span (const_void_span const &rhs) noexcept
 
template<typename CharT , typename Traits = std::char_traits<CharT>>
constexpr friend std::basic_string_view< CharT, Traits > as_basic_string_view (const_void_span const &rhs) noexcept
 
constexpr friend std::string_view as_string_view (const_void_span const &rhs) noexcept
 
constexpr friend bstring_view as_bstring_view (const_void_span const &rhs) noexcept
 

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