Create a proctor for empty blocks at one end of deque.

Synopsis

Declared in <bslstl_deque.h>

Deque_BlockProctor(
    deque<VALUE_TYPE, ALLOCATOR>* deque,
    bool atFront);

Description

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

Parameters

Name

Description

deque

deque whose empty blocks are proctored

atFront

true to proctor the front; false to proctor the back

Created with MrDocs