MySQL 9.1.0
Source Code Documentation
net::prepared_buffers< BufferType > Class Template Reference

#include <buffer.h>

Public Types

using value_type = BufferType
 
using storage_type = std::array< BufferType, 16 >
 
using const_iterator = typename storage_type::const_iterator
 
using iterator = typename storage_type::iterator
 

Public Member Functions

const_iterator begin () const
 
const_iterator end () const
 
void push_back (value_type &&v)
 
size_t size () const noexcept
 
constexpr size_t max_size () const noexcept
 

Private Attributes

storage_type bufs_
 
size_t used_ {0}
 

Member Typedef Documentation

◆ const_iterator

template<class BufferType >
using net::prepared_buffers< BufferType >::const_iterator = typename storage_type::const_iterator

◆ iterator

template<class BufferType >
using net::prepared_buffers< BufferType >::iterator = typename storage_type::iterator

◆ storage_type

template<class BufferType >
using net::prepared_buffers< BufferType >::storage_type = std::array<BufferType, 16>

◆ value_type

template<class BufferType >
using net::prepared_buffers< BufferType >::value_type = BufferType

Member Function Documentation

◆ begin()

template<class BufferType >
const_iterator net::prepared_buffers< BufferType >::begin ( ) const
inline

◆ end()

template<class BufferType >
const_iterator net::prepared_buffers< BufferType >::end ( ) const
inline

◆ max_size()

template<class BufferType >
constexpr size_t net::prepared_buffers< BufferType >::max_size ( ) const
inlineconstexprnoexcept

◆ push_back()

template<class BufferType >
void net::prepared_buffers< BufferType >::push_back ( value_type &&  v)
inline

◆ size()

template<class BufferType >
size_t net::prepared_buffers< BufferType >::size ( ) const
inlinenoexcept

Member Data Documentation

◆ bufs_

template<class BufferType >
storage_type net::prepared_buffers< BufferType >::bufs_
private

◆ used_

template<class BufferType >
size_t net::prepared_buffers< BufferType >::used_ {0}
private

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