__gnu_cxx::__pool_alloc_base(3cxx) | __gnu_cxx::__pool_alloc_base(3cxx) |
NAME¶
__gnu_cxx::__pool_alloc_base -SYNOPSIS¶
Inherited by __gnu_cxx::__pool_alloc< _Tp > [private].Protected Types¶
enum { _S_align }
Protected Member Functions¶
char * _M_allocate_chunk (size_t __n, int &__nobjs)
Static Protected Attributes¶
static char * _S_end_free
Detailed Description¶
Base class for __pool_alloc.- 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.
Author¶
Generated automatically by Doxygen for libstdc++ from the source code.Thu Aug 2 2012 | libstdc++ |