This class defines a proctor type that provides direct const access to the underlying bsl::deque contained in a Deque.
Declared in <bdlcc_deque.h>
class ConstProctor;
| Name | Description |
|---|---|
ConstProctor [constructor] | Create a ConstProctor for the optionally specified container. |
~ConstProctor [destructor] | Destroy this proctor and unlock its associated Deque. |
isNull | Return true if this object is not associated with a Deque object. |
load | Attach this proctor to the specified container. |
operator* | Return a reference to the bsl::deque managed by this Proctor object. The behavior is undefined if this ConstProctor has been released. |
operator-> | Return a pointer to the bsl::deque contained in the Deque managed by this object. The behavior is undefined if this ConstProctor has been released. |
operator[] | Return a non-modifiable reference to the element at position. |
release | Release this proctor without destroying it. Afterward the destructor will have no effect. This may be called multiple times; only the first call has any effect; |