[#BloombergLP-bdlcc-SingleProducerSingleConsumerBoundedQueue_PopCompleteGuard]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::SingleProducerSingleConsumerBoundedQueue&lowbar;PopCompleteGuard
:relfileprefix: ../../
:mrdocs:

This class implements a guard that invokes `TYPE&colon;&colon;popComplete` on a `NODE` upon destruction&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;singleproducersingleconsumerboundedqueue&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class TYPE,
    class NODE&gt;
class SingleProducerSingleConsumerBoundedQueue&lowbar;PopCompleteGuard;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlcc/SingleProducerSingleConsumerBoundedQueue_PopCompleteGuard/2constructor.adoc[`SingleProducerSingleConsumerBoundedQueue&lowbar;PopCompleteGuard`]         [.small]#[constructor]#
| Create a guard managing the specified `queue` and will invoke `popComplete` with the specified `node` and `index`&period;
| xref:BloombergLP/bdlcc/SingleProducerSingleConsumerBoundedQueue_PopCompleteGuard/2destructor.adoc[`&#126;SingleProducerSingleConsumerBoundedQueue&lowbar;PopCompleteGuard`] [.small]#[destructor]#
| Destroy this object and invoke the `TYPE&colon;&colon;popComplete`&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
