[#BloombergLP-bdlcc-SingleConsumerQueueImpl_PopCompleteGuard] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::SingleConsumerQueueImpl_PopCompleteGuard :relfileprefix: ../../ :mrdocs: This class implements a guard that automatically invokes `popComplete` on the managed queue upon destruction. == Synopsis Declared in `<bdlcc_singleconsumerqueueimpl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> class SingleConsumerQueueImpl_PopCompleteGuard; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlcc/SingleConsumerQueueImpl_PopCompleteGuard/2constructor.adoc[`SingleConsumerQueueImpl_PopCompleteGuard`] [.small]#[constructor]# | Create a `popComplete` guard managing the specified `queue`. | xref:BloombergLP/bdlcc/SingleConsumerQueueImpl_PopCompleteGuard/2destructor.adoc[`~SingleConsumerQueueImpl_PopCompleteGuard`] [.small]#[destructor]# | Destroy this object and invoke the `popComplete` method on the managed queue. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#