#include <stl_alloc.h>
Collaboration diagram for std::__default_alloc_template:
Static Public Methods | |
void* | allocate (size_t __n) |
void | deallocate (void *__p, size_t __n) |
void* | reallocate (void *__p, size_t __old_sz, size_t __new_sz) |
Private Types | |
enum | { _ALIGN = 8 } |
enum | { _MAX_BYTES = 128 } |
enum | { _NFREELISTS = 16 } |
Static Private Methods | |
size_t | _S_round_up (size_t __bytes) |
size_t | _S_freelist_index (size_t __bytes) |
void* | _S_refill (size_t __n) |
char* | _S_chunk_alloc (size_t __size, int &__nobjs) |
Static Private Attributes | |
_Obj* __STL_VOLATILE | _S_free_list [] |
char* | _S_start_free |
char* | _S_end_free |
size_t | _S_heap_size |
Friends | |
class | _Lock |
|
Definition at line 247 of file stl_alloc.h. |
|
Definition at line 248 of file stl_alloc.h. |
|
Definition at line 249 of file stl_alloc.h. |
|
|
|
Definition at line 261 of file stl_alloc.h. |
|
|
|
Definition at line 251 of file stl_alloc.h. |
|
Definition at line 294 of file stl_alloc.h. |
|
Definition at line 324 of file stl_alloc.h. |
|
|
|
Definition at line 284 of file stl_alloc.h. |
|
Definition at line 273 of file stl_alloc.h. |
|
Definition at line 259 of file stl_alloc.h. |
|
Definition at line 274 of file stl_alloc.h. |
|
Definition at line 272 of file stl_alloc.h. |