libstdc++
std::_Deque_base< _Tp, _Alloc > Class Template Reference
Inheritance diagram for std::_Deque_base< _Tp, _Alloc >:

List of all members.

Public Types

Public Member Functions

Protected Types

Protected Member Functions

Protected Attributes


Detailed Description

template<typename _Tp, typename _Alloc>
class std::_Deque_base< _Tp, _Alloc >

Deque base class. This class provides the unified face for deque's allocation. This class's constructor and destructor allocate and deallocate (but do not initialize) storage. This makes exception safety easier.

Nothing in this class ever constructs or destroys an actual Tp element. (Deque handles that itself.) Only/All memory management is performed here.

Definition at line 440 of file stl_deque.h.


Member Function Documentation

template<typename _Tp , typename _Alloc >
void std::_Deque_base< _Tp, _Alloc >::_M_initialize_map ( size_t  __num_elements) [protected]

Layout storage.

Parameters:
__num_elementsThe count of T's for which to allocate space at first.
Returns:
Nothing.

The initial underlying memory layout is a bit complicated...

Definition at line 583 of file stl_deque.h.

References std::max().


The documentation for this class was generated from the following file: