MySQL 9.1.0
Source Code Documentation
mem_heap_allocator< T >::rebind< U > Struct Template Reference

Allocators are required to supply the below template class member which enables the possibility of obtaining a related allocator, parametrized in terms of a different type. More...

#include <mem0mem.h>

Public Types

typedef mem_heap_allocator< Uother
 

Detailed Description

template<typename T>
template<typename U>
struct mem_heap_allocator< T >::rebind< U >

Allocators are required to supply the below template class member which enables the possibility of obtaining a related allocator, parametrized in terms of a different type.

For example, given an allocator type IntAllocator for objects of type int, a related allocator type for objects of type long could be obtained using IntAllocator::rebind<long>::other

Member Typedef Documentation

◆ other

template<typename T >
template<typename U >
typedef mem_heap_allocator<U> mem_heap_allocator< T >::rebind< U >::other

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