[#bsl-Deque_BlockProctor-2constructor]
= xref:bsl.adoc[bsl]::xref:bsl/Deque_BlockProctor.adoc[Deque&lowbar;BlockProctor]::Deque&lowbar;BlockProctor
:relfileprefix: ../../
:mrdocs:

Create a proctor for empty blocks at one end of `deque`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;deque&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
Deque&lowbar;BlockProctor(
    xref:bsl/deque-0c.adoc[deque&lt;VALUE&lowbar;TYPE, ALLOCATOR&gt;]* deque,
    bool atFront);
----

== Description

Create a block proctor object to proctor blocks at one end (i&period;e&period;, front or back) of the specified `deque` as indicated by the specified `atFront` flag&period; If `atFront` is `true`, blocks at the front of `deque` are proctored&semi; otherwise, blocks at the back of `deque` are proctored&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *deque*
| deque whose empty blocks are proctored
| *atFront*
| `true` to proctor the front&semi; `false` to proctor the back
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
