IDA C++ SDK 9.2
|
A custom allocator for containers. More...
#include <pro.h>
Public Types | |
typedef T | value_type |
typedef T * | pointer |
typedef const T * | const_pointer |
typedef T & | reference |
typedef const T & | const_reference |
typedef size_t | size_type |
typedef ptrdiff_t | difference_type |
Public Member Functions | |
pool_allocator_t () | |
template<typename U> | |
pool_allocator_t (const pool_allocator_t< U > &) | |
pool_allocator_t (const pool_allocator_t &) | |
pool_allocator_t & | operator= (const pool_allocator_t &) |
pool_allocator_t (pool_allocator_t &&)=default | |
pool_allocator_t & | operator= (pool_allocator_t &&)=default |
bool | operator== (const pool_allocator_t &r) const |
T * | allocate (size_t n) |
void | deallocate (T *ptr, size_t n) |
A custom allocator for containers.
May be useful for std::map and std::set, when the objects are small in size.
typedef T pool_allocator_t< T >::value_type |
typedef T* pool_allocator_t< T >::pointer |
typedef const T* pool_allocator_t< T >::const_pointer |
typedef T& pool_allocator_t< T >::reference |
typedef const T& pool_allocator_t< T >::const_reference |
typedef size_t pool_allocator_t< T >::size_type |
typedef ptrdiff_t pool_allocator_t< T >::difference_type |
|
inline |
|
inline |
|
inline |
|
default |
|
inline |
|
default |
|
inline |
|
inline |
|
inline |