MySQL 9.1.0
Source Code Documentation
|
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< U > | other |
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
typedef mem_heap_allocator<U> mem_heap_allocator< T >::rebind< U >::other |