Create a proctor that restores endpoint to position on destruction.
Synopsis
Description
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.
Parameters
Name |
Description |
endpoint |
deque endpoint iterator to restore, or null |
position |
value written to |
Created with MrDocs