Create a proctor that restores endpoint to position on destruction.
Declared in <bslalg_dequeprimitives.h>
DequePrimitives_DequeEndpointProctor(
Iterator* endpoint,
Iterator position);
Create a deque endpoint proctor that conditionally manages the specified endpoint (if non-zero) by setting *endpoint to the specified position (if not released -- see release) upon destruction.
| Name | Description |
|---|---|
| endpoint | deque endpoint iterator to restore, or null |
| position | value written to *endpoint unless released |