[#bsl-Deque_BlockProctor] = xref:bsl.adoc[bsl]::Deque_BlockProctor :relfileprefix: ../ :mrdocs: Proctor that deallocates empty blocks at one end of a deque. == Synopsis Declared in `<bslstl_deque.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE_TYPE, class ALLOCATOR> class Deque_BlockProctor; ---- == Description 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. == Member Functions [cols="1,4"] |=== | Name| Description | xref:bsl/Deque_BlockProctor/2constructor.adoc[`Deque_BlockProctor`] [.small]#[constructor]# | Create a proctor for empty blocks at one end of `deque`. | xref:bsl/Deque_BlockProctor/2destructor.adoc[`~Deque_BlockProctor`] [.small]#[destructor]# | Destroy this proctor and deallocate empty blocks at the proctored end. | xref:bsl/Deque_BlockProctor/release.adoc[`release`] | Release from management the deque currently managed by this proctor. If no deque is currently being managed, this method has no effect. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#