bsl::Deque_BlockProctor::Deque_BlockProctor

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

NameDescription
dequedeque whose empty blocks are proctored
atFronttrue to proctor the front; false to proctor the back