Reference

std::__default_alloc_template(3)

NAME

std::__default_alloc_template -

SYNOPSIS

#include <memory>

Static Public Member Functions

static void * allocate (size_t n)
static void deallocate (void *__p, size_t n)
static void * reallocate (void *__p, size_t __old_sz, size_t new_sz)

Private Types

enum
enum
enum

Static Private Member Functions

static size_t S_round_up (size_t __bytes)
static size_t S_freelist_index (size_t __bytes)
static void * S_refill (size_t n)
static char * S_chunk_alloc (size_t size, int &nobjs)

Static Private Attributes

static Obj *volatile S_free_list [NFREELISTS]
static char * S_start_free
static char * S_end_free
static size_t S_heap_size
static STL_mutex_lock S_node_allocator_lock
static Atomic_word S_force_new

Friends

struct Lock

Classes

struct Lock
union Obj

Detailed Description

template<bool __threads, int inst> class std::__default_alloc_template< __threads, inst >

(See allocators info for more.)

Definition at line 333 of file memory.

Author

Generated automatically by Doxygen for libstdc++-v3 Source from the source code.

History