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.
Synopsis
Declared in <bslstl_deque.h>
template<
class VALUE_TYPE,
class ALLOCATOR>
class Deque_BlockProctor;
Member Functions
Name |
Description |
|
Create a block proctor object to proctor blocks at one end (i.e., front or back) of the specified |
|
Destroy this block proctor, and deallocate empty blocks at the back of the proctored deque as indicated by the |
Release from management the deque currently managed by this proctor. If no deque is currently being managed, this method has no effect. |
Created with MrDocs