MySQL 8.4.2
Source Code Documentation
http::base::details::ref_buffer< T > Class Template Reference

#include <owned_buffer.h>

Public Types

using This = ref_buffer< T >
 

Public Member Functions

 ref_buffer (T &ref)
 
 ref_buffer (const ref_buffer &other)
 
void * data () const noexcept
 
size_t size () const noexcept
 
void reset ()
 
Thisoperator+= (size_t n)
 
 operator net::const_buffer () const
 

Private Attributes

T & ref_
 

Member Typedef Documentation

◆ This

template<typename T >
using http::base::details::ref_buffer< T >::This = ref_buffer<T>

Constructor & Destructor Documentation

◆ ref_buffer() [1/2]

template<typename T >
http::base::details::ref_buffer< T >::ref_buffer ( T &  ref)
inline

◆ ref_buffer() [2/2]

template<typename T >
http::base::details::ref_buffer< T >::ref_buffer ( const ref_buffer< T > &  other)
inline

Member Function Documentation

◆ data()

template<typename T >
void * http::base::details::ref_buffer< T >::data ( ) const
inlinenoexcept

◆ operator net::const_buffer()

template<typename T >
http::base::details::ref_buffer< T >::operator net::const_buffer ( ) const
inline

◆ operator+=()

template<typename T >
This & http::base::details::ref_buffer< T >::operator+= ( size_t  n)
inline

◆ reset()

template<typename T >
void http::base::details::ref_buffer< T >::reset ( )
inline

◆ size()

template<typename T >
size_t http::base::details::ref_buffer< T >::size ( ) const
inlinenoexcept

Member Data Documentation

◆ ref_

template<typename T >
T& http::base::details::ref_buffer< T >::ref_
private

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