man __gnu_cxx::bitmap_allocator (Fonctions bibliothèques) -

NAME

__gnu_cxx::bitmap_allocator -

SYNOPSIS



Inherits __gnu_cxx::BA_free_list_store.

Public Types

typedef size_t size_type

typedef ptrdiff_t difference_type

typedef Type * pointer

typedef const Type * const_pointer

typedef Type & reference

typedef const Type & const_reference

typedef Type value_type

Public Member Functions

bitmap_allocator () throw ()

bitmap_allocator (const bitmap_allocator &)

template<typename Type1> bitmap_allocator (const bitmap_allocator< Type1 > &) throw ()

~bitmap_allocator () throw ()

pointer allocate (size_type n)

pointer allocate (size_type n, typename bitmap_allocator< void >::const_pointer)

void deallocate (pointer __p, size_type n) throw ()

pointer address (reference r) const

const_pointer address (const_reference r) const

size_type max_size (void) const throw ()

void construct (pointer p, const_reference __data)

void destroy (pointer p)

Private Types

typedef std::pair< pointer, pointer > Block_pair

typedef __gnu_cxx::new_allocator< Block_pair > BPVec_allocator_type

typedef std::vector< Block_pair, BPVec_allocator_type > BPVector

typedef BA_free_list_store BFL_type

Static Private Member Functions

static void S_bit_allocate (unsigned int *__pbmap, unsigned int position) throw ()

static void S_bit_free (unsigned int *__pbmap, unsigned int position) throw ()

static void * S_memory_get (size_t sz) throw (std::bad_alloc)

static void S_memory_put (void *__vptr) throw ()

static void S_refill_pool () throw (std::bad_alloc)

static pointer S_allocate_single_object ()

static void S_deallocate_single_object (pointer __p) throw ()

static void S_insert_free_list (unsigned int *addr) throw ()

static unsigned int * S_get_free_list (unsigned int sz) throw (std::bad_alloc)

static void S_clear ()

Static Private Attributes

static const unsigned int BitsPerByte

static const unsigned int BitsPerBlock

static BPVector S_mem_blocks

static unsigned int S_block_size

static __gnu_cxx::aux_balloc::Bit_map_counter< pointer, BPVec_allocator_type > S_last_request

static BPVector::size_type S_last_dealloc_index

Classes

struct rebind

Detailed Description

template<typename Type> class __gnu_cxx::bitmap_allocator< Type >

Definition at line 492 of file bitmap_allocator.h.

Author

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