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 container`s mutex. If no `container is specified, this object will be null.

Parameters

Name

Description

container

deque to lock and expose, or 0

Created with MrDocs