std::_Deque_base< _Tp, _Alloc > Class Template Reference

Inheritance diagram for std::_Deque_base< _Tp, _Alloc >:
Inheritance graph

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 361 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  )  [inline, protected]

Layout storage.

Parameters:
num_elements The 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 493 of file stl_deque.h.

References std::__deque_buf_size(), and std::max().

Referenced by std::deque< _Tp, _Alloc >::_M_range_initialize().


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

Generated on 19 Jun 2018 for libstdc++ by  doxygen 1.6.1