LLFIO  v2.00
llfio_v2_xxx::byte_io_multiplexer::const_buffer_type Struct Reference

#include "byte_io_multiplexer.hpp"

Public Types

using pointer = const byte *
 Type of the pointer to memory.
 
using const_pointer = const byte *
 Type of the pointer to memory.
 
using iterator = const byte *
 Type of the iterator to memory.
 
using const_iterator = const byte *
 Type of the iterator to memory.
 
using size_type = size_t
 Type of the length of memory.
 

Public Member Functions

 const_buffer_type ()=default
 Default constructor.
 
constexpr const_buffer_type (pointer data, size_type len) noexcept
 Constructor.
 
constexpr const_buffer_type (buffer_type b) noexcept
 Converting constructor from non-const buffer type.
 
template<class T , typename std::enable_if<(!std::is_same< typename std::decay< T >::type, buffer_type >::value &&std::is_constructible< span< const byte >, T >::value), bool >::type = true>
constexpr const_buffer_type (T &&s, _implict_span_constructor_tag={}) noexcept
 Constructor taking any type acceptable to span.
 
 const_buffer_type (const const_buffer_type &)=default
 
 const_buffer_type (const_buffer_type &&)=default
 
const_buffer_typeoperator= (const const_buffer_type &)=default
 
const_buffer_typeoperator= (const_buffer_type &&)=default
 
constexpr QUICKCPPLIB_NODISCARD bool empty () const noexcept
 Returns if this buffer is empty.
 
constexpr pointer data () noexcept
 Returns the address of the bytes for this buffer.
 
constexpr const_pointer data () const noexcept
 Returns the address of the bytes for this buffer.
 
constexpr size_type size () const noexcept
 Returns the number of bytes in this buffer.
 
constexpr iterator begin () noexcept
 Returns an iterator to the beginning of the buffer.
 
constexpr const_iterator begin () const noexcept
 Returns an iterator to the beginning of the buffer.
 
constexpr const_iterator cbegin () const noexcept
 Returns an iterator to the beginning of the buffer.
 
constexpr iterator end () noexcept
 Returns an iterator to after the end of the buffer.
 
constexpr const_iterator end () const noexcept
 Returns an iterator to after the end of the buffer.
 
constexpr const_iterator cend () const noexcept
 Returns an iterator to after the end of the buffer.
 

Detailed Description

The gather buffer type used by this handle. Guaranteed to be TrivialType and StandardLayoutType. Try to make address and length 64 byte, or ideally, page_size() aligned where possible.


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