Create a proctor that manages queue and clears it unless released.
Declared in <bdlcc_fixedqueue.h>
FixedQueue_PushProctor(
FixedQueue<VALUE>* queue,
unsigned int generation,
unsigned int index);
Create a proctor that manages the specified queue and, unless release is called, will remove and destroy all the elements from queue starting at the specified index in the specified generation. The behavior is undefined unless index and generation refers to a valid element in queue.
| Name | Description |
|---|---|
| queue | queue to manage |
| generation | generation of the cell being pushed |
| index | index of the cell being pushed |