LLFIO  v2.00
llfio_v2_xxx::listening_socket_handle_buffer_types_injector< Base, SocketType >::buffers_type Struct Reference

The buffers type used by this handle for reads, which is a single item sequence of buffer_type. More...

#include "byte_socket_handle.hpp"

Public Types

using pointer = buffer_type *
 Type of the pointer to the buffer.
 
using iterator = buffer_type *
 Type of the iterator to the buffer.
 
using const_iterator = const buffer_type *
 Type of the iterator to the buffer.
 
using size_type = size_t
 Type of the length of the buffers.
 

Public Member Functions

constexpr buffers_type ()
 Default constructor.
 
constexpr buffers_type (buffer_type &sock)
 
 buffers_type (buffers_type &&o) noexcept
 Move constructor.
 
 buffers_type (const buffers_type &)=delete
 No copy construction.
 
buffers_typeoperator= (buffers_type &&o) noexcept
 Move assignment.
 
buffers_typeoperator= (const buffers_type &)=delete
 No copy assignment.
 
constexpr QUICKCPPLIB_NODISCARD bool empty () const noexcept
 True if empty.
 
constexpr iterator begin () noexcept
 Returns an iterator to the beginning of the buffers.
 
constexpr const_iterator begin () const noexcept
 Returns an iterator to the beginning of the buffers.
 
constexpr const_iterator cbegin () const noexcept
 Returns an iterator to the beginning of the buffers.
 
constexpr iterator end () noexcept
 Returns an iterator to after the end of the buffers.
 
constexpr const_iterator end () const noexcept
 Returns an iterator to after the end of the buffers.
 
constexpr const_iterator cend () const noexcept
 Returns an iterator to after the end of the buffers.
 
const buffer_typeconnected_socket () const &noexcept
 The socket referenced by the buffers.
 
buffer_typeconnected_socket () &noexcept
 The socket referenced by the buffers.
 
buffer_type connected_socket () &&noexcept
 The socket and its connected address referenced by the buffers.
 

Detailed Description

template<class Base, class SocketType>
struct llfio_v2_xxx::listening_socket_handle_buffer_types_injector< Base, SocketType >::buffers_type

The buffers type used by this handle for reads, which is a single item sequence of buffer_type.

Constructor & Destructor Documentation

◆ buffers_type()

template<class Base , class SocketType >
constexpr llfio_v2_xxx::listening_socket_handle_buffer_types_injector< Base, SocketType >::buffers_type::buffers_type ( buffer_type sock)
inlineconstexpr

Constructor

748  : _sock(&sock)
749  {
750  }

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