[#BloombergLP-bdlcc-FixedQueue_PopGuard] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::FixedQueue_PopGuard :relfileprefix: ../../ :mrdocs: This class provides a destruction guard that pops an element from a `FixedQueue`. == Synopsis Declared in `<bdlcc_fixedqueue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class VAL> class FixedQueue_PopGuard; ---- == Description This class provides a guard that, upon its destruction, will remove (pop) the indicated element from the `FixedQueue` object supplied at construction. Note that this guard is used to provide exception safety when popping an element from a `FixedQueue` object. == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlcc/FixedQueue_PopGuard/2constructor.adoc[`FixedQueue_PopGuard`] [.small]#[constructor]# | Create a guard that pops the indicated element on destruction. | xref:BloombergLP/bdlcc/FixedQueue_PopGuard/2destructor.adoc[`~FixedQueue_PopGuard`] [.small]#[destructor]# | Update the state of the `FixedQueue` object supplied at construction to remove (pop) the indicated element, and destroy the popped object. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#