MySQL 9.2.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
connection_control::CustomAllocator< T > Class Template Reference

#include <connection_control_pfs_table.h>

Inheritance diagram for connection_control::CustomAllocator< T >:
[legend]

Public Types

using value_type = T
 

Public Member Functions

 CustomAllocator ()=default
 
template<typename U >
 CustomAllocator (const CustomAllocator< U > &)
 
T * allocate (std::size_t n)
 
void deallocate (T *ptr, std::size_t)
 

Additional Inherited Members

- Static Public Member Functions inherited from connection_control::Connection_control_alloc
static void * operator new (size_t size) noexcept
 
static void * operator new[] (size_t size) noexcept
 
static void operator delete (void *ptr)
 
static void operator delete[] (void *ptr)
 

Member Typedef Documentation

◆ value_type

template<typename T >
using connection_control::CustomAllocator< T >::value_type = T

Constructor & Destructor Documentation

◆ CustomAllocator() [1/2]

template<typename T >
connection_control::CustomAllocator< T >::CustomAllocator ( )
default

◆ CustomAllocator() [2/2]

template<typename T >
template<typename U >
connection_control::CustomAllocator< T >::CustomAllocator ( const CustomAllocator< U > &  )
inlineexplicit

Member Function Documentation

◆ allocate()

template<typename T >
T * connection_control::CustomAllocator< T >::allocate ( std::size_t  n)
inline

◆ deallocate()

template<typename T >
void connection_control::CustomAllocator< T >::deallocate ( T *  ptr,
std::size_t   
)
inline

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