|
BDE 4.39.x Production Release
|
#include <bslstl_deque.h>
This class provides a proctor which, at destruction, calls clear on the deque supplied at construction, unless the guard has been released prior.
See bslstl_deque
Public Member Functions | |
| Deque_ClearGuard (deque< VALUE_TYPE, ALLOCATOR > *deque) | |
| ~Deque_ClearGuard () | |
| void | release () |
|
inlineexplicit |
Create a clear guard object to proctor the specified deque.
|
inline |
Destroy this guard, and call clear on the deque supplied at construction, unless release has been called on this object.
|
inline |
Release from management the deque proctored by this object.