|
libstdc++
|
#include <pool_allocator.h>
Protected Types | |
| enum | { _S_align } |
| enum | { _S_max_bytes } |
| enum | { _S_free_list_size } |
Protected Member Functions | |
| char * | _M_allocate_chunk (size_t __n, int &__nobjs) |
| _Obj *volatile * | _M_get_free_list (size_t __bytes) throw () |
| __mutex & | _M_get_mutex () throw () |
| void * | _M_refill (size_t __n) |
| size_t | _M_round_up (size_t __bytes) |
Static Protected Attributes | |
| static char * | _S_end_free |
| static _Obj *volatile | _S_free_list [_S_free_list_size] |
| static size_t | _S_heap_size |
| static char * | _S_start_free |
Base class for __pool_alloc.
Uses various allocators to fulfill underlying requests (and makes as few requests as possible when in default high-speed pool mode).
Important implementation properties: 0. If globally mandated, then allocate objects from new
Definition at line 75 of file pool_allocator.h.
|
protected |
Definition at line 80 of file pool_allocator.h.
|
protected |
Definition at line 81 of file pool_allocator.h.
|
protected |
Definition at line 82 of file pool_allocator.h.
|
inlineprotected |
Definition at line 98 of file pool_allocator.h.
|
staticprotected |
Definition at line 94 of file pool_allocator.h.
|
staticprotected |
Definition at line 90 of file pool_allocator.h.
|
staticprotected |
Definition at line 95 of file pool_allocator.h.
|
staticprotected |
Definition at line 93 of file pool_allocator.h.