HikoGUI
A low latency retained GUI
|
Public Types | |
using | size_type = std::size_t |
using | difference_type = std::ptrdiff_t |
using | pointer = void * |
using | const_pointer = void const * |
Public Member Functions | |
constexpr | void_span (void_span const &) noexcept=default |
constexpr | void_span (void_span &&) noexcept=default |
constexpr void_span & | operator= (void_span const &) noexcept=default |
constexpr void_span & | operator= (void_span &&) noexcept=default |
constexpr | void_span (void *pointer, size_t size) noexcept |
template<typename T , std::size_t N> requires (not std::is_const_v<T>) | |
constexpr | void_span (std::array< T, N > &rhs) noexcept |
template<typename T , std::size_t N> requires (not std::is_const_v<T>) | |
constexpr | void_span (std::span< T, N > &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 void_span | first () const noexcept |
constexpr void_span | first (size_type n) const noexcept |
template<std::size_t N> | |
constexpr void_span | last () const noexcept |
constexpr void_span | last (size_type n) const noexcept |
template<std::size_t Offset, std::size_t Count = std::dynamic_extent> | |
constexpr void_span | subspan () const noexcept |
constexpr 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> | |
constexpr friend std::span< T, E > | as_span (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 (void_span const &rhs) noexcept |
constexpr friend std::string_view | as_string_view (void_span const &rhs) noexcept |
constexpr friend bstring_view | as_bstring_view (void_span const &rhs) noexcept |