IDA SDK
|
A custom allocator for containers.
May be useful for std::map and std::set, when the objects are small in size.
Public Member Functions | |
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) |