BloombergLP::bdlcc::Deque::Proctor::Proctor

Create a Proctor for the optionally specified container.

Synopsis

Declared in <bdlcc_deque.h>

explicit
Proctor(Deque<TYPE>* container = 0);

Description

Create a Proctor object to provide access to the underlying bsl::deque contained in the optionally specified *container, locking containers mutex. If no container is specified, this object will be null.

Parameters

NameDescription
containerdeque to lock and expose, or 0