Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

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

#include <bslstl_deque.h>

List of all members.

Public Member Functions

 Deque_BlockProctor (deque< VALUE_TYPE, ALLOCATOR > *deque, bool atFront)
 ~Deque_BlockProctor ()
void release ()

Detailed Description

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

This class implements a proctor that, upon destruction and unless its release method has previously been invoked, deallocates empty blocks at one end (i.e., front or back) of a proctored deque. The end at which empty blocks are to be proctored is indicated by a flag supplied at construction. See emplace for a use case.

See Component bslstl_deque


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