std::__default_alloc_template(3)

std::__default_alloc_template3

Usage

#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.

Releases

2 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1
  2. 4.0

Author

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

From libstdc++5-3.3-doc 1:3.3.6-15 in Debian 4.0 (Etch). Parsed by carta from the page's man source.