[#BloombergLP-bdlcc-FixedQueue_PushProctor-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/FixedQueue_PushProctor.adoc[FixedQueue_PushProctor]::FixedQueue_PushProctor :relfileprefix: ../../../ :mrdocs: Create a proctor that manages `queue` and clears it unless released. == Synopsis Declared in `<bdlcc_fixedqueue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- FixedQueue_PushProctor( xref:BloombergLP/bdlcc/FixedQueue.adoc[FixedQueue<VALUE>]* queue, unsigned int generation, unsigned int index); ---- == Description 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`. == Parameters [cols="1,4"] |=== | Name| Description | *queue* | queue to manage | *generation* | generation of the cell being pushed | *index* | index of the cell being pushed |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#