__gnu_cxx::__pool_alloc_base Class Reference

Inheritance diagram for __gnu_cxx::__pool_alloc_base:

Inheritance graph
List of all members.

Detailed Description

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 1. If the clients request an object of size > _S_max_bytes, the resulting object will be obtained directly from new 2. In all other cases, we allocate an object of size exactly _S_round_up(requested_size). Thus the client has enough size information that we can return the object to the proper free list without permanently losing part of the object.

Definition at line 79 of file pool_allocator.h.

Protected Types

Protected Member Functions

Static Protected Attributes


The documentation for this class was generated from the following file:
Generated on Wed Mar 26 00:44:01 2008 for libstdc++ by  doxygen 1.5.1