Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

bsl::Deque_BlockCreator< VALUE_TYPE, ALLOCATOR > Class Template Reference
[Component bslstl_deque]

#include <bslstl_deque.h>

List of all members.

Public Member Functions

 Deque_BlockCreator (deque< VALUE_TYPE, ALLOCATOR > *deque)
 ~Deque_BlockCreator ()
void insertAtFront (size_type n)
void insertAtBack (size_type n)
BlockPtr * reserveBlockSlots (size_type numNewBlocks, bool atFront)
void release ()

Detailed Description

template<class VALUE_TYPE, class ALLOCATOR>
class bsl::Deque_BlockCreator< VALUE_TYPE, ALLOCATOR >

This class allocates blocks at the front or back of a deque and tentatively adds them to the deque. It also keeps track of how many of the newly allocated blocks have actually been used by the deque. The destructor automatically frees any unused blocks (e.g., in case an exception is thrown).

See Component bslstl_deque


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